Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-04-08 09:29:39
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
<txp:if_section> in article list
Is it posible to use <txp:if_section> in an article list?
I want to style the article list differentely depending if the article is from one section or another, but cant seem to make it work.
<txp:if_section name=“a”>
use color blue for the item of the list
</txp:if_section>
<txp:if_section name=“b”>
use color red for the item of the list
</txp:if_section>
Offline
Re: <txp:if_section> in article list
mlarino wrote:
Is it posible to use <txp:if_section> in an article list?
Yes but you probably meant to use <txp:if_article_section>.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#3 2010-04-08 09:34:07
- mlarino
- Member
- Registered: 2007-06-29
- Posts: 367
Re: <txp:if_section> in article list
oh!!! aticle section makes a lot more sense!!! :)
THANKS Stef!!!
Offline
Pages: 1