Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-02-03 12:11:28
- klebiTxP
- New Member
- Registered: 2009-12-18
- Posts: 6
if_article_category nested in if_article_category
Hello Folks
I am using Textpattern · 4.0.6.
Is it possible to use if_article_category nested in if_article_category
like:
<txp:if_article_category number=“2” name=“test1”>
text
<txp:else />
<txp:if_article_category number=“2” name=“test2”>
text
<txp:else />
text
</txp:if_article_category>
</txp:if_article_category>
somehow it’s not working. is there another solution for me?
Offline
Re: if_article_category nested in if_article_category
klebiTxP wrote:
somehow it’s not working. is there another solution for me?
Yes — upgrade.
Code is topiary
Offline
#3 2010-02-03 12:26:53
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: if_article_category nested in if_article_category
Nesting of identical, conditional tags is only available in version 4.0.7 and newer.
Offline
#4 2010-02-03 12:30:31
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: if_article_category nested in if_article_category
As far as I remember you could place an output_form tag where you wanted the nested tagging, and in this form put the second set of tags.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#5 2010-02-03 13:28:09
- masa
- Member
- From: North Wales, UK
- Registered: 2005-11-25
- Posts: 1,095
Re: if_article_category nested in if_article_category
uli wrote:
As far as I remember you could place an output_form tag where you wanted the nested tagging, and in this form put the second set of tags.
Yes, that worked. I don’t think it was widely known.
Offline
#6 2010-02-03 14:25:41
- klebiTxP
- New Member
- Registered: 2009-12-18
- Posts: 6
Re: if_article_category nested in if_article_category
thank you very much. It’s working
Offline