Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Category Handler
View page
Source of version: 18
(current)
Categories are a powerful feature in Tiki since version 2.0. They are a key to performing complex permission management. This ((handler)) only allows you to define categories, create subcategories, and to assign objects to categories. To assign permissions to the categories ((Permission Management)) must be used, where you assign that some group has some permissions on a category (which are treated in the handler the same as any other object). __Applying categories to objects created in the same profile:__ You should use ((object references)) (and not profilerequests) to categorize objects that are created by the profile itself. {CODE(caption=>YAML)} objects: - type: category ref: profile_category data: name: Profiles description: Base category used to get complete listing - type: category ref: app_category data: name: Applications parent: $profile_category items: - [ tracker, $SampleProfiles:bug_tracker_profile ] - [ wiki_page, TimeAccounting ] - type: category ref: clone_category data: name: Clones parent: $profile_category items: - [ wiki_page, WikipediaClone ] - [ wiki_page, $OtherProfile:some_page ] {CODE} Alternatively, a categorize block can be used to categorize objects individually, for objects created by other profiles or data channels for example. {CODE(caption=YAML)} objects: - type: categorize data: type: wiki_page object: HomePage categories: - $profile_category {CODE} ! Category Object ||__Field Name__|__Mandatory__|__Value__|Tiki version name|yes|The category name| parent| |Parent category ID. No value will create a top level category.| description| |Category description| items| |List of objects to be added to the category. Each entry must be a pair of ((object types|object type)) and object ID, or for wiki the pagename.| migrateparent| |Parent category ID. If specified will move all of the current items of the category of the same name under migrateparent to the category being updated/created by this profile|9.x||
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
state
alpha
beta
Not fully functional yet
release
Tiki version
21.x
24.x
25.x
26.x
Deprecated
10.x
11.x
12.x
13.x
14.x
15.x
16.x
17.x
18.x
19.x
20.x
22.x
23.x
3.x
4.x
5.x
6.x
7.x
8.x
9.x
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
Kanban-Board-25
Test_All_Plugins
menu
Welcome to Tiki Profiles
GeoCMS_Maps_18
Profiles_in_Wizard
Tiki Profiles Tester
Troubleshooting Profiles
R_demo
Modern_Company_Intranet_26
How to Create Profiles
Profile Developer Documentation
Module Handler
Wildcard_items
Work_Custom_Pricing
Sample_Articles_include
Featured Profiles
Company_Intranet_26
JonnyBs_Luxury_Tiki_Setup
CartoGraf_FR_HomePage
...more
Search
Find
Most Popular Tags
admin
agenda
articles
batch
blogs
calculations
calendar
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin list
plugin split
plugin tabs
plugin trackercalendar
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
resource management
resourceviews
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackercalendar
trackerfilter
trackerlist
trackers
user watches
watches
wiki
wiki argument variables
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!