Content last modified Monday 3 September 2018
hop to #bottom
Categories:
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

fh_category_list

Created based on some context-based textpattern plugins, this plugin goes recursively based on your current section and look for category names and leaf articles. Attributes incude:


section * lists categories under one section, or the current section
label * text label before the list
wraptag * wraptag enclosing the whole trunk of code
break * text break after each line
class * css class, default as category_menu
category * lists all categories and articles with this parent. Default as current category (root if empty).
list * Non-zero values : include link to articles, default is false

Please be warned that this plugin is for my personal use only so there may be bugs that might not be a problem under my textpattern setting. When in doubt, debug.

Comments are welcome, please send to sanford dot poon @ gmail dot com.

Update 0.2:
* Edited code and SQL queries for performance
* Corrected typos and general styling

Article Request Count:
Initially released:
2005-09-19
Posted here:
24 Sep 2005

You know you want to visit the Archives.
Published with Textpattern