Loading...
 
List categories and objects assigned to them

Plugin Category

This wiki plugin will display a list of categories and 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

Introduced in Tiki1.
Preferences required: feature_categories, wikiplugin_category
Parameters Accepted Values Description Default Since
lang lang List only objects in this language. Only apply if type="wiki". 8.0
maxRecords digits Maximum number of objects to list (default is 50) 50 6.1
and (blank)
y
n
If set to y (Yes), only objects in all of the categories will be shown (default is to show objects in any of the categories) 1
showlinks (blank)
y
n
Show children category links (shown by default) y 5.0
showdescription (blank)
y
n
Show descriptions (not shown by default) n 4.1
showname (blank)
y
n
Show object names (shown by default) y 4.1
one (blank)
y
n
Show one object per line (multiple per line shown by default) n 5.0
sort (blank)| created_asc| created_desc| hits_asc| hits_desc| itemId_asc| itemId_desc| name_asc| name_desc| type_asc| type_desc| random Sort ascending or descending based on various attributes (sorted ascending by name by default) 1
split (blank)
y
n
Whether multiple categories will be listed on different lines (default is to split them) 1
sub (blank)
y
n
Also list objects in sub-categories of the categories given (default is to list sub-category objects) n 4.1
showTitle (blank)
y
n
Show title text above category object lists (shown by default) y 6.1
categoryshowlink (blank)
y
n
Show top category link (shown by default) y 5.0
showtype (blank)
y
n
Show type (shown by default) y 4.1
types article, blog, blog post, fgal, forum, igal, newsletter, event, poll, quiz, survey, tracker, wiki, img List of object types to include in the list, separated by "+", for example, article+blog+blog post+fgal * 1
id digits
separator: +
List of category IDs separated by "+", for example, 1+2+3. Default will use category of the current page. 1


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

{category id="1" types="img" sort="itemId_asc,name_asc"}

Sort first on articleId and then name

{category id="1" types="article" sort="itemId_asc,name_asc"}

On this site

This code:
{category id="1" sub="n"}


Would produce on this site:

Wrong

No brackets around the id number:
{category id="[2]" types="faq"}

Correct

{category id="2" types="faq+blog+article"}

{category types="wiki" sort="created_asc"}

{category split="y"}

{category}


doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki