Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-02-01 20:28:40

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

[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

#2 2012-02-01 20:49:06

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

#3 2012-02-01 21:19:08

totoff
Member
From: Cologne, Germany
Registered: 2011-04-04
Posts: 145
Website

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

Board footer

Powered by FluxBB