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
Related Pages
See these pages for information that applies for all modules:
- Module — Overall introduction and overview
- Module Admin — Introduction to the module admin pages for site-wide and individual module settings
- Assigning Modules — How to select a module to configure it
- Module Settings Interface — Interface for configuring individual module settings
- Module Settings Parameters — Explanation of standard parameter settings for modules
- Creating Custom Modules — How to create user modules
- Index of Modules — Links to the documentation of individual modules
- User Modules — How (if the feature is active) users can choose and place their modules
- Mods Type Modules — Links to modules that are installed as components