Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-10-05 10:51:09
- hurrlipurr
- New Member
- From: Giessen, Germany
- Registered: 2008-10-05
- Posts: 2
Different behavior of linklist and section_list
Hi there,
I’m wondering why linklist is working different than section_list:
<txp:section_list wraptag="ul" break="li" />
renders to
<li>
<a href="http://oksol.dev/about/">About</a>
</li>
while
<txp:linklist wraptag="ul" break="li" />
renders to
<li>
<a href="http://textpattern.net/">TextBook</a>
<br/>
</li>
with an extra <br/>
.
Is this how it should work (and why)? What can I do to make <txp:linklist>
omit the <br/>
?
Offline
Re: Different behavior of linklist and section_list
If my memory serves correctly the linklist tag uses the “plainlinks” form template by default so go there and remove the <br />
tag or create a new form of your own and add the “form” attribute to the linklist tag. More info.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#3 2008-10-05 15:01:22
- hurrlipurr
- New Member
- From: Giessen, Germany
- Registered: 2008-10-05
- Posts: 2
Re: Different behavior of linklist and section_list
Works fine. Thank you!
Offline