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

List categories and objects assigned to them
Introduced in Tiki 1.
Go to the source code
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, 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

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

Sort first on articleId and then name

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

On this site

This code:

Copy to clipboard
{category id="1" sub="n"}


Would produce on this site:

Wrong

No brackets around the id number:

Copy to clipboard
{category id="[2]" types="faq"}

Correct

Copy to clipboard
{category id="2" types="faq+blog+article"}
Copy to clipboard
{category types="wiki" sort="created_asc"}
Copy to clipboard
{category split="y"}
Copy to clipboard
{category}


Created by system. Last Modification: Monday 29 July, 2019 11:03:27 GMT-0000 by Yves Kipondo.

doc.tiki.org

Get Started

Admin Guide User Guide

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
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
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
Draw
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)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
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
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

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