Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
txp:if_category for individual articles
I’m using this code:
<txp:if_category name=“Lightroom”>
<txp:output_form form=“LRGalleries” /> <txp:output_form form=“LRIndexes” /> <txp:output_form form=“LRArticles” />
<txp:else />
<txp:output_form form=“SEARCH-INPUT” /> <txp:output_form form=“CATEGORYLIST” /> <txp:output_form form=“RECENTHEADLINES” />
</txp:if_category>
When I view http://theturninggate.com/blog/?c=Lightroom, it works perfectly.
When I view an individual article that belongs to the category, it reverts to the txp:else set of menus.
Any suggestions for how I can keep the “Lightroom” menus in place while viewing individual articles?
Thanks,
theturninggate
Offline
Re: txp:if_category for individual articles
<txp:if_article_category />
?
Offline
Re: txp:if_category for individual articles
That one does it. Thanks!
Offline