Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2007-04-27 23:30:14

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Selected section in the section list

You want to check out pap_section_list

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

Board footer

Powered by FluxBB