Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
if_article_category tag?
I am experimenting with the if category tag found <a href=“http://textpattern.net/wiki/index.php?title=Txp:if_article_category”>here</a>…
I created a form called sidebar
Within it I include
<code>
<txp:if_article_category name=“Arts_Info”>
<div class=“info1”><ul>
<li class=“current”><b>Latest 10 Art news of <txp:mdn_count category=“Arts_Info” /></b>
<txp:related_articles limit=“10” break=“li” /></ul></div>
</txp:if_article_category>
… etc
</code>
Results: the whole of the form works ok except the if_article_category tags…
Anyone has any ideas why?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
#2 2005-10-09 10:38:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: if_article_category tag?
<txp:if_article_category>
should be used in an article form, it is meant for individual articles. If you need it on a category page, use <txp:if_category>
.
Offline
Re: if_article_category tag?
> doggiez wrote:
> <txp:if_article_category>
should be used in an article form, it is meant for individual articles. If you need it on a category page, use <txp:if_category>
.
hi doggiez, thanks for the pointer (you are right. all i needed was to add the if_ individual_article conditional)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1