Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-29 19:30:09

Lis
Member
Registered: 2006-08-28
Posts: 10

Exclude a section from a section_list

Hello,
I’m trying to do something that I thought was relatively easy, but it doesn’t seem to be working for me. I have a section list on the left side of my textpattern site, but I’d like to exclude the archive section from it. So currently the code looks like this:

<code><txp:section_list label=“Sections” /></code>

I then tried to exclude the archive section so I did this:

<code><txp:section_list label=“Sections” exclude=“archive” /></code>

But the archive section is still listed with the other sections. Can anyone help? What am I doing wrong?

Offline

#2 2006-08-29 19:43:36

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Exclude a section from a section_list

That second one worked for me. (Here’s the wiki entry)

Offline

#3 2006-08-29 19:54:10

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: Exclude a section from a section_list

That feature is not available in the current stable release of Textpattern (4.0.3). It will be available when Txp 4.0.4 is made available. But you can always grab the development version from the svn or from <a href=“http://textpattern.com/file_download/19”>here</a> (may not be as recent as the svn version).

Otherwise you can get a similar result using <a href=“http://textpattern.org/plugins/158/akonav”>this plugin</a>


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#4 2006-08-29 21:25:04

Walker
Plugin Author
From: Boston, MA
Registered: 2004-02-24
Posts: 592
Website

Re: Exclude a section from a section_list

So that’s why it worked for me!

Offline

Board footer

Powered by FluxBB