Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Output Unlinked Categories List
Hi,
How can I output an unlinked categories list, so it can be used in a tag like this:
<txp:category name=“category, category, etc.” />
Thanks!
Offline
Re: Output Unlinked Categories List
Hi
have you tried
<txp:category name='<txp:categroy_list parent="parent of the categroy list" break=","><txp:category /></txp:category_list>' />
nb: not tested
Last edited by Dragondz (2011-02-15 11:50:57)
Offline
#3 2011-02-15 19:30:39
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Output Unlinked Categories List
I think this will work better:
<txp:category_list categories="cat1,cat2,etcetera" break=","><txp:category /></txp:category_list>
Or, like Dragondz said:
<txp:category_list parent="parentcat" exclude="parentcat" break=","><txp:category /></txp:category_list>
Offline
Re: Output Unlinked Categories List
Thanks, the two of you … exactly what was needed :)
Offline
Pages: 1