Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-11 08:20:39

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

How to Make my Section Selected when current section activated?

Hello Team, I was add this code to make list my section.

<txp:section_list break=“li” sections=“Berita, Event, Visi, Pendukung, Tenant” exclude=“banner” wraptag=“ul” />

After I tested the result of my code will be like this.

<ul class="section_list"> <li><a href="http://plaza.txp/berita/">Berita</a></li> <li><a href="http://plaza.txp/event/">Event</a></li> <li><a href="http://plaza.txp/visi/">Visi</a></li> <li><a href="http://plaza.txp/pendukung/">Pendukung</a></li> <li><a href="http://plaza.txp/tenant/">Tenant</a></li> </ul>

My Question is, how to make my Pendukung section selected? so my section list when I click on Pendukung will be like this

<ul class="section_list"> <li><a href="http://plaza.txp/berita/">Berita</a></li> <li><a href="http://plaza.txp/event/">Event</a></li> <li><a href="http://plaza.txp/visi/">Visi</a></li> <li class="active"><a href="http://plaza.txp/pendukung/">Pendukung</a></li> <li><a href="http://plaza.txp/tenant/">Tenant</a></li> </ul>

Please Help

Thanks

Offline

#2 2007-06-11 09:43:21

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: How to Make my Section Selected when current section activated?

Offline

#3 2007-06-11 10:00:07

jauhari
Member
Registered: 2007-05-24
Posts: 97
Website

Re: How to Make my Section Selected when current section activated?

Thanks you.. the problem solved now ;)

Offline

Board footer

Powered by FluxBB