Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-10-30 13:26:28
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
[solved] How do I return the current sections name?
Hi everyone,
as you can read in the topic, I am looking for a way to return the current sections name in another TXP-tag.
I want to show all subcategorys of a category, that has the same name like the current section, but my efforts to achive this with this tag:
<txp:category_list wraptag="ul" break="li" parent="<txp:section />" />
That way I am trying to build a hierarchy in my navigation (if you got better ideas, tell me).
thanks & regards,
ripvanfish
Last edited by RipvanFish (2009-10-30 13:55:13)
Offline
Re: [solved] How do I return the current sections name?
Use single quotes for tags within tags, i.e.,
<txp:category_list wraptag="ul" break="li" parent='<txp:section />' />
Code is topiary
Offline
#3 2009-10-30 13:54:03
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
Re: [solved] How do I return the current sections name?
Thank you so much jsoo!
That solved 50% of my problems.. there should be a big fat link to this information in the docs.
nevermind, thank you!
Offline