Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Double if
Stupid issue with having <txp:if_category> two times.
The thing is: I’m building a gallery in www.dazigned/com.
In /ilus page I have a list of thumbnails (using rss_thumbpop plugin), displaying both categories: “Comercial” and “retratos”. The thing is that I need a <txp:if_category> to display each category, but it seems that thumbpop doesen’t support having as category <txp:category /> (so I need to have 2 <txp:if_category>, which seems impossible, and doesn’t work at all).
Any thoughts?
Last edited by Malize (2009-10-28 00:31:42)
Offline
#2 2009-10-28 07:48:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Double if
Don’t know what you need exactly, but all of these should be possible:
<txp:rss_thumbpop category='<txp:category />' />
(but thecategory
attribute defaults to the current category, so leaving it out is exactly the same)<txp:rss_thumbpop category="comercial,retratos" />
<txp:if_category name="comercial,retratos">...</txp:if_category>
Last edited by els (2009-10-28 07:50:45)
Offline
Pages: 1