Loading...
 
Skip to main content
Display links to categories in a tree

Module categories

Display links to categories in a tree

Parameters

Displays links to categories as a tree.

Go to the source code
Preferences required: feature_categories

Parameters Accepted Values Description Default Since
selflink alpha y|n .If y, category links to a page named as the category
customURL alpha Custom URL for link to send you. Use No value assigned as placeholder for catId or No value assigned for name. E.g. "ProductBrowse?categ=No value assigned"
deep word Show subcategories objects when accessing a linked category. Possible values: on (default), off.
hideEmpty alpha y|n .If y, only categories with child objects will be shown.
type any string except for HTML and PHP tags Object type filter to apply when accessing a linked category. Example values: wiki page, article, faq, blog, image gallery, image, file gallery, tracker, trackerItem, quiz, poll, survey, sheet
onlyChildren alpha y|n .If y, only direct child categories will be shown. Default: n
categId int Limits displayed categories to a subtree of categories starting with the category with the given ID. Example value: 11. Default: 0 (don't limit display).
categParentIds any string except for HTML and PHP tags Show only these categories and the immediate child categories of these in the order the parameter specifies. Example values: 3,5,6.

Example

This code:

Copy to clipboard
{MODULE(module=categories) /}


Would produce on this site:


See also:
Category Transitions, PluginCategory, Module last_category_objects and Module change_category

See these pages for information that applies for all modules: