Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archived] ats_master_category

#1 2004-06-12 19:11:55

schussat
Plugin Author
Registered: 2004-02-24
Posts: 101
Website

[archived] ats_master_category

Notice: this plugin is archived, see <txp:category_list />

*********************************************

Name: ats_master_category_list
Version: 0.1
Author: Alan Schussman
Author URL: http://www.schussman.com
Modified: 2004-06-12
Download: ats_master_category_list

Summary:

ats_master_category_list is a very slight modification to category_list that allows for the output of a category list with only master categories (that is, it allows for the exclusion of sub-categories from the list). For sites with multiple sub-categories, this provides just a temporary way of cleanly showing categories until a better method is generated. I hope this wasn’t already available and I missed it somewhere; I didn’t see an existing way to do this in g1.19. If this is something new, I’d be interested in hearing if it’s useful.

Usage:

Use ats_master_category_list exactly as you would the normal category_list function; to restrict list to top-level categories only, add the parameter <b>master=“1”</b>.

Last edited by els (2009-04-23 22:28:43)


-Alan

Offline

  1. Index
  2. » Archives
  3. » [archived] ats_master_category

Board footer

Powered by FluxBB