Fullscreen
[Show/Hide Left Column]
[Show/Hide Right Column]

List categories and objects assigned to them
3d browser Print

Plugin Category

This 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.

Table of contents



Usage

Below is an example showing the syntax:
{CATEGORY(id=1+2+3, types=article+blog+faq+fgal+forum+igal+newsletter+ event+poll+quiz+survey+tracker+wiki+img, sort=name_asc, sub=y, split=y, and=n)}{CATEGORY}


Parameter Accepted Values Effect Since
id list of IDs separated by + or the string 'current' all the objects that belongs to at least one of these categories will be listed
types list of object types separated by + (or * for all types) a type can be article or blog or faq or fgal or forum or igal or newsletter or poll or quiz or survey or tracker or wiki or img - * means all
sort type, created, name or hits followed by _ and asc or desc (default: name_asc) example: created_asc will sort by ascending creation date
sub y or n display items of subcategories. (default: y)
split y or n when displaying multiple categories, whether they should be split or not. (default: y)
and y or n if set to y, only objects in all of the categories listed will shown. (default: n)
showname y or n Show the name. (default: y) tw >= 5.0
showdescription y or n Show description. (default: n) tw >=5.0
showtype y or n Show type. (default: y) tw >=5.0


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.

Examples


Sort first on imageId and then name

{CATEGORY(id=1, types=img, sort="itemId_asc,name_asc")}{CATEGORY}


Sort first on articleId and then name

{CATEGORY(id=1, types=article, sort="itemId_asc,name_asc")}{CATEGORY}


On this site

This code,
^{CATEGORY(id=1,sub=n)}{CATEGORY}^


Would produce:
Category: Status


Wrong

{CATEGORY(id=>[2]types=>faq)}{CATEGORY}



Correct

{CATEGORY(id=2,types=faq+blog+article)}{CATEGORY}

{CATEGORY(types=wiki,sort=created_asc)}{CATEGORY}

{CATEGORY(split=y)}{CATEGORY}

{CATEGORY()}{CATEGORY}


Related pages



Contributors to this page: lindon1701 points  , miarrobino23 points  , sylvie3037 points  , SEWilco674 points  , Xavi26357 points  and system .
Page last modified on Tuesday 02 March, 2010 04:19:06 UTC by lindon1701 points .

To register

To have an account at this site, please register at Tikiwiki.org (external link), and then use that user name and password to log in here.

Find by Page Name

Exact match

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):

Accessibility (WAI – 508)
Action log 2.x
Alert 3.x
Articles & Submissions
Backlinks
Banners
Blog
Bookmark
Browser Compatibility
Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Custom Home (and Groups Home Page)
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tikiwiki.org (Help System)
DogFood
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
Interaction
Inter-User Messages
InterTiki
Karma
Live Support
Login
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
Profile Manager
Quicktags
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Security
Semantic links 3.x
Shadowbox
Shoutbox
Slideshow
Smarty Template
Smiley
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
System log
Tags 2.x
Task
Tell a Friend + Social Bookmarking 2.x
TikiTests 2.x
Theme
Trackers
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
Webmail
Webservices
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval 2.x
Wiki Plugins extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
WYSIWYCA
WYSIWYG 2.x
XMLRPC