Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-04-27 22:14:36
- cxn
- Member
- Registered: 2007-04-27
- Posts: 12
Selected section in the section list
Hello to all :)
I have a non-critical problem with Txp. Though any help is highly appreciated.
Problem: Say I have 4 sections in my section list. I want that if a section is active, it will not link to itself but rather be normal plain text (without link).
<txp:section_list active_class="selected" sections="abc, xyz, omg, wtf" break="li" labeltag="ul" wraptag="ul" this_section="0" include_default="0"/>
Currently I am cheating by using CSS to mask links as plain text.
.selected {color: black !important; cursor:text !important; text-decoration:none !important;}
So, any suggestion how this could be resolved? So is there a way to “deactivate” a link in the section list? Thanks in advance
Offline
Offline
#3 2007-04-28 15:32:24
- cxn
- Member
- Registered: 2007-04-27
- Posts: 12
Re: Selected section in the section list
Thank you variaas!
Beatiful! Description matches perfectly!
Now I hope that the site hosting that plugin will not be down forever…
Offline
Pages: 1