Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2008-11-07 00:31:54

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: How do you list an articles category or categories.

I explained myself wrong.

I pressed CTRL + F on Firefox to search and started to type: “if_ar”, and then I stopped typing because it didn’t find anything (red input on FF).
Why?
Because there is no “if_ar” on that page. There is “if article category” but not “if_article_category”.

Ok. I’m used to type the underscore, as if I were typing the tag itself.

Maybe someone though it’s easier to just press the space bar than typing an underscore, he.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#14 2008-11-07 23:43:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: How do you list an articles category or categories.

And yet another way :) Without the need for conditionals, and better if both categories could be empty:

<txp:category1><txp:category1 title="1" /></txp:category1>
<txp:category2>, <txp:category2 title="1" /></txp:category2>

Offline

Board footer

Powered by FluxBB