History: PluginCategory
Source of version: 35 (current)
Copy to clipboard
! Plugin Category This ((wiki plugin)) will display a list of categories and ((Objects|objects)) assigned to those categories. Options let you decide what level of category, what types of objects to list, how they should be sorted, whether to show subcategories, and whether multiple category displays should be split. !!Parmeters {pluginmanager plugin="category"} !!! How to Determine a Category ID (without guessing) Browse the categories (see ((Category User))), hover over a category item, and look at the browser's status bar and note the ID number. !!!How to Change Default Number of Records By default the plugin limits output to 50 records. You can change this in lib/wiki-plugins/wikiplugin_category.php !! Examples !!! Sort first on imageId and then name {CODE(wrap="1" colors="tiki")} {category id="1" types="img" sort="itemId_asc,name_asc"} {CODE} !!! Sort first on articleId and then name {CODE(wrap="1" colors="tiki")} {category id="1" types="article" sort="itemId_asc,name_asc"}{CODE} !!! On this site ''This code:'' {CODE(wrap="1" colors="tiki")} {category id="1" sub="n"} {CODE} ''Would produce on this site:'' {category id="1" sub="n"} !!! Wrong ''No brackets around the id number:'' {CODE(wrap="1" colors="tiki")} {category id="[2]" types="faq"} {CODE} !!! Correct {CODE(wrap="1" colors="tiki")} {category id="2" types="faq+blog+article"} {CODE} {CODE(wrap="1" colors="tiki")} {category types="wiki" sort="created_asc"} {CODE} {CODE(wrap="1" colors="tiki")} {category split="y"} {CODE} {CODE(wrap="1" colors="tiki")} {category} {CODE} !!Related pages * ((Category)) * ((Category User)) * ((Category Admin)) * ((Categories Details))