Loading...
 
Skip to main content

History: Category Handler

Source of version: 6

Copy to clipboard
            !Category Handler

Categories are a powerful feature in tikiwiki 2.0. They are a key to performing complex permission management. This ((handler)) only allows to create the category tree. To give permissions to the categories or items, ((Permission Management)) must be used.

{CODE(caption=>Sample category tree)}
objects:
 -
  type: category
  ref: profiles_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}

! Category Object
||__Field Name__|__Mandatory__|__Value__
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 type and object ID.||
        

History

Information Version
Tue 18 of Sep, 2012 18:38 GMT-0000 Louis-Philippe Huberdeau Describing new categorize handler 18
Wed 09 of May, 2012 17:16 GMT-0000 Nelson Ko add migrateparent var 17
Sat 08 of May, 2010 22:35 GMT-0000 luciash d' being 🧙 16
Thu 08 of Apr, 2010 16:25 GMT-0000 idealpragmatist 15
Thu 08 of Apr, 2010 14:37 GMT-0000 idealpragmatist 14
Thu 08 of Apr, 2010 14:37 GMT-0000 idealpragmatist you can categorize wiki pages by pagename not object id. 13
Thu 08 of Apr, 2010 14:01 GMT-0000 idealpragmatist add list of object types 12
Thu 08 of Apr, 2010 13:25 GMT-0000 idealpragmatist better wording 11
Thu 08 of Apr, 2010 13:23 GMT-0000 idealpragmatist explaining about assigning items to categories. 10
Tue 24 of Feb, 2009 10:51 GMT-0000 Xavier de Pedro typo, I guess 9
Thu 16 of Oct, 2008 03:26 GMT-0000 Marc Laporte 8
Sat 23 of Aug, 2008 15:33 GMT-0000 Marc Laporte YAML is needed 7
Sat 23 of Aug, 2008 15:29 GMT-0000 Marc Laporte 6
Wed 06 of Aug, 2008 14:49 GMT-0000 System Administrator 5
Wed 06 of Aug, 2008 14:31 GMT-0000 System Administrator 4
Tue 05 of Aug, 2008 19:29 GMT-0000 Marc Laporte 3
Tue 05 of Aug, 2008 16:37 GMT-0000 System Administrator 2