Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-07 09:34:54

firefox
Member
Registered: 2008-08-06
Posts: 16

txp tags nesting problem

when l used blow script to bulid a gallery suffer a problem.
<div id=“content” style=“width:520px;margin:auto; cursor:pointer; border:1px dashed #4E6973;padding: 3px;margin:auto; overflow:hidden”>
<txp:ike_slideshow category=”<txp:category/>” loop=“1” show=“pagination,category,caption” thumbnails=“0” link=“image”/> </div>
the error messages was:
No valid image IDs given/found.” loop=“1” show=“pagination,category,caption” thumbnails=“0” link=“image”/>

i guess txp:ike_slideshow does not support nesting or hava other way to solution this problem?

Thanks very much!

Last edited by firefox (2008-08-07 10:18:11)

Offline

#2 2008-08-07 10:02:09

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp tags nesting problem

  1. I don’t see any nesting?
  2. Better ask in the plugin thread.

Offline

#3 2008-08-07 10:22:04

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: txp tags nesting problem

i’am sorry,it’s my faults
then i have been fixed.
could anyone can solve this problem?

Offline

#4 2008-08-07 10:24:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp tags nesting problem

Ah, I see :) You need asy_wondertag to do that.

Offline

#5 2008-08-07 10:48:00

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: txp tags nesting problem

thanks!

Offline

#6 2008-08-07 10:50:26

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: txp tags nesting problem

now i suffer a new problem
the error messages is:
tag_error -> Textpattern Notice: missing_article_tag: image on line 464
but when my page was blank,remain have this message
how can i do?

Offline

#7 2008-08-07 10:57:29

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp tags nesting problem

Does it go away when you set Production status to ‘Live’ (Admin > Preferences)? If so, don’t worry. If not, can you post the code you have on the page template?

Offline

#8 2008-08-07 10:58:26

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: txp tags nesting problem

this is my trace log
<code>
[SQL (0.000073): select name from txp_lang where lang=‘en-gb’ limit 1]
[SQL (0.001370): select name, data from txp_lang where lang=‘en-gb’ AND ( event=‘public’ OR event=‘common’)]
[SQL (0.000253): select name, code, version from txp_plugin where status = 1]
[SQL (0.000099): select * from txp_section where name = ‘gallery’ limit 1]
[SQL (0.000338): select host from txp_log where ip=‘128.88.255.11’ limit 1]
[SQL (0.000273): insert into txp_log set `time`=now(),page=’/textpattern/index.php?s=gallery&c=gallery’,ip=‘128.88.255.11’,host=‘128.88.255.11’,refer=’‘,status=‘200’,method=‘GET’]
[SQL (0.000082): select user_html from txp_page where name=‘image’]
[Page: image]
<txp:output_form form=“head” /> [SQL (0.000074): select Form from txp_form where name=‘head’] [Form: head] <txp:page_title/> [SQL (0.000065): select title from txp_category where name=‘gallery’ and type=‘article’] <txp:feed_link flavor=“atom” format=“link” label=“Atom” /> <txp:feed_link flavor=“rss” format=“link” label=“RSS” /> <txp:fla_style_switcher default=“default” />
<txp:text item=“go_content” />
<txp:text item=“go_nav” />
<txp:text item=“go_search” />
<txp:section_list default_title=“Home” break=“li” include_default=“1” exclude=“gallery”/> [SQL (0.000075): select name, title from txp_section where name != ‘default’ and name not in(‘gallery’) order by name ASC]
<txp:link_to_home> <txp:site_url/>
</txp:link_to_home>
<txp:site_slogan/>
<txp:asy_wondertag> <txp:category/> <txp:ike_slideshow category=“gallery” loop=“1” show=“pagination,category,caption” thumbnails=“0” link=“image”/> [SQL (0.000093): select * from txp_image where category in(“gallery”) order by id desc]
</txp:asy_wondertag>
<txp:output_form form=“sidebar” /> [SQL (0.000115): select Form from txp_form where name=‘sidebar’] [Form: sidebar] <txp:recent_comments limit=“6” break=“li” wraptag=“ul” /> [SQL (0.000076): select parentid, name, discussid from txp_discuss where visible = 1 order by posted desc limit 0,6] [SQL (0.000168): select *, ID as thisid, unix_timestamp(Posted) as posted from textpattern where ID = 17] [SQL (0.000114): select *, ID as thisid, unix_timestamp(Posted) as posted from textpattern where ID = 17] <txp:linklist break=“li” wraptag=“ul” /> [SQL (0.000093): select *, unix_timestamp(date) as uDate from txp_link where 1 order by linksort asc ] [SQL (0.000069): select Form from txp_form where name=‘plainlinks’] [Form: plainlinks] <txp:linkdesctitle/> [Form: plainlinks] <txp:linkdesctitle/> [Form: plainlinks] <txp:linkdesctitle/> [Form: plainlinks] <txp:linkdesctitle/> [Form: plainlinks] <txp:linkdesctitle/> [Form: plainlinks] <txp:linkdesctitle/>
<txp:output_form form=“footer” /> [SQL (0.000079): select Form from txp_form where name=‘footer’] [Form: footer]
[ ~~~ secondpass ~~~ ]
<txp:css n=“default” />
</code>

what’s the matter?

Offline

#9 2008-08-07 11:02:45

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: txp tags nesting problem

Nothing wrong with your code. The notice is only saying that you have no <txp:article /> tag on your page, but you don’t have to. Setting Production status to ‘Live’ should solve it.

Offline

#10 2008-08-07 11:03:45

firefox
Member
Registered: 2008-08-06
Posts: 16

Re: txp tags nesting problem

thanks very much,you help me ravel out two problems,i so happy
best wishes!

Offline

Board footer

Powered by FluxBB