Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[SOLVED] section list without links
hello txp forum,
i have quite a simple problem, but can’t find a “txp solution” for it. maybe you can help:
i need a dynamic list of sections made with <txp:section_list />
but i don’t want a linked list. that is,
<ul><li><span>section name</span></li></ul>
instead of
<ul><li><a>section name</a></li></ul>
i could easily do that with plain html, but unfortunately i need the list to be dynamically created.
any hint is much appreciated.
thanks, christoph
Last edited by totoff (2012-02-01 21:20:15)
Offline
Re: [SOLVED] section list without links
I didn’t have a chance to test this but I borrowed it from example 3
<txp:section_list wraptag="ul" break="">
<li><span><txp:section title="1" /></span></li>
</txp:section_list>
Offline
Re: [SOLVED] section list without links
thank you michael,
works as desired!
this is what happens if one thinks to complicated: i never thought that <txp:section_list />
will NOT produce the <a>
tag.
you’ve helped me a lot. thanks
Offline
Pages: 1