Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.5
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

tsw_sec_list

The tsw_sec_list plugin is a simple plugin to display information about the sections defined in your Textpattern system.

tsw_sec_list allows you to display each section name or title as a hyperlink with a corresponding hyperlinked image, or any combination of the two. If you just want a listing of each section, you can do that. If you just want to display an image for each section you can do that too. Or you can display both the section text and an image. If you select to include an image, the image file must be named the same as the section, except in all lowercase (e.g. Section name: Books, Image name: books.png).

tsw_sec_list also allows you to sort your sections by name or by title, and you can choose to omit any sections from the output. If you include the ‘default’ section you can also choose to rename it and/or pop it to the front of your list of sections. (For example, this comes in handy when you want to rename the default section to ‘Home’, but also want it to come first in your list of sections for easier navigation.) Please see the help documentation for a description of all the features and attributes.

Update: version 0.4.1 now includes the ability to specify a separate class attribute for the current section.

Update: version 0.5 now includes the ability to display either the name or the title of each section, instead of just the name. This version also includes the ability to specify a list of sections that will be excluded from the output.

Article Request Count:
Keywords/tags:
Initially released:
12/04/2006
Posted here:
04 Dec 2006
Article modified:
20 Jan 2008

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern