Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Jailroot_Demonstration
View page
Source of version: 30
(current)
This profile sets-up a few categories, objects and perspectives to allow to test perspective switching and the jailroot feature. !Global {CODE(caption=>YAML)} preferences: feature_categories: y feature_perspective: y feature_jquery_ui: y #Need to manage perspectives on tiki-edit_perspective.php feature_blogs: y feature_forums: y feature_file_galleries: y feature_trackers: y feature_search: y feature_top_bar: y feature_sheet: y permissions: Anonymous: allow: [ perspective_view ] objects: - type: module ref: persp_switcher data: name: perspective position: right order: 1 groups: [ Admins, Registered, Anonymous ] - type: module ref: category_listing data: name: categories position: right order: 2 groups: [ Admins, Registered, Anonymous ] - type: category ref: tree_a data: name: A items: - [ wiki page, $aonly ] - [ forum, $foruma ] - [ forum, $foruma_and_b ] - [ file gallery, $fgaonly ] - [ blog, $aonlyblog ] - [ blog, $aandbblog ] - [ tracker, $trackera ] - type: category ref: tree_b data: name: B items: - [ wiki page, $bonly ] - [ forum, $forumb ] - [ forum, $foruma_and_b ] - [ file gallery, $fgbonly ] - [ blog, $bonlyblog ] - [ blog, $aandbblog ] - type: category ref: a1 data: name: a1 parent: $tree_a items: - [ wiki page, $o1 ] - [ wiki page, $oax ] - [ file gallery, $fg1 ] - [ file gallery, $fgax ] - type: category ref: a2 data: name: a2 parent: $tree_a items: - [ wiki page, $o2 ] - [ wiki page, $oax ] - [ file gallery, $fg2 ] - [ file gallery, $fgax ] - type: category ref: a3 data: name: a3 parent: $tree_a items: - [ wiki page, $o3 ] - [ wiki page, $oax ] - [ file gallery, $fg3 ] - [ file gallery, $fgax ] - type: category ref: b1 data: name: b1 parent: $tree_b items: - [ wiki page, $o1 ] - [ wiki page, $obx ] - [ file gallery, $fg1 ] - [ file gallery, $fgbx ] - type: category ref: b2 data: name: b2 parent: $tree_b items: - [ wiki page, $o2 ] - [ wiki page, $obx ] - [ file gallery, $fg2 ] - [ file gallery, $fgbx ] - type: category ref: b3 data: name: b3 parent: $tree_b items: - [ wiki page, $o3 ] - [ wiki page, $obx ] - [ file gallery, $fg3 ] - [ file gallery, $fgbx ] {CODE} !Data {CODE(caption=>YAML)} objects: - type: wiki_page ref: o1 data: name: A1 and B1 content: ContentA1 ContentB1 - type: wiki_page ref: o2 data: name: A2 and B2 content: ContentA2 ContentB2 - type: wiki_page ref: o3 data: name: A3 and B3 content: ContentA3 ContentB3 - type: wiki_page ref: oax data: name: A1 A2 A3 content: ContentA1 ContentA2 ContentA3 - type: wiki_page ref: obx data: name: B1 B2 B3 content: ContentB1 ContentB2 ContentB3 - type: wiki_page ref: aonly data: name: A content: ContentA - type: wiki_page ref: bonly data: name: B content: ContentB {CODE} {CODE(caption=>YAML)} objects: - type: blog ref: aonlyblog data: title: A - type: blog ref: bonlyblog data: title: B - type: blog ref: aandbblog data: title: A and B {CODE} {CODE(caption=>YAML)} objects: - type: forum ref: foruma data: name: A - type: forum ref: forumb data: name: B - type: forum ref: foruma_and_b data: name: A and B {CODE} {CODE(caption=>YAML)} objects: - type: file_gallery ref: fg1 data: name: A1 and B1 flags: [ public, visible ] - type: file_gallery ref: fg2 data: name: A2 and B2 flags: [ public, visible ] - type: file_gallery ref: fg3 data: name: A3 and B3 flags: [ public, visible ] - type: file_gallery ref: fgax data: name: A1 A2 A3 flags: [ public, visible ] - type: file_gallery ref: fgbx data: name: B1 B2 B3 flags: [ public, visible ] - type: file_gallery ref: fgaonly data: name: A flags: [ public, visible ] - type: file_gallery ref: fgbonly data: name: B flags: [ public, visible ] {CODE} {CODE(caption=>YAML)} objects: - type: tracker ref: trackera data: name: Bugs description: Standard bug tracker default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, attachments ] - type: tracker_field ref: bug_tracker_summary data: name: Summary tracker: $trackera type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: bug_tracker_priority data: name: Priority tracker: $trackera type: dropdown options: 5 (high),4,3,2,1 (low) flags: [ searchable, public, list ] order: 20 {CODE} !Perspectives Here we have a few examples of overriding various preferences like Site title, theme, etc. You can manage them at tiki-edit_perspective.php (Tiki5) Category jail is important as well. {CODE(caption=>YAML)} objects: - type: perspective data: name: A preferences: category_jail: [ $tree_a ] sitetitle: This is perspective A - type: perspective data: name: B preferences: category_jail: [ $tree_b ] sitetitle: This is perspective B site_style: thenews.css - type: perspective data: name: A1 preferences: category_jail: [ $a1 ] site_style: feb12.css - type: perspective data: name: A2 preferences: category_jail: [ $a2 ] site_style: darkroom.css - type: perspective data: name: A3 preferences: category_jail: [ $a3 ] - type: perspective data: name: B1 preferences: category_jail: [ $b1 ] - type: perspective data: name: B2 preferences: category_jail: [ $b2 ] - type: perspective data: name: B3 preferences: category_jail: [ $b3 ] - type: perspective data: name: 1 preferences: category_jail: [ $profileobject:a1$, $profileobject:b1$ ] - type: perspective data: name: 2 preferences: category_jail: [ $profileobject:a2$, $profileobject:b2$ ] - type: perspective data: name: 3 preferences: category_jail: [ $profileobject:a3$, $profileobject:b3$ ] - type: perspective data: name: ALL preferences: category_jail: [ $profileobject:tree_a$, $profileobject:tree_b$ ] {CODE} ! Known bugs/limitations --http://dev.tiki.org/wish2962-- fixed ! Related links * ((dev:Deployment of Category Jail))
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
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
Test_all_tracker_field_types_profile
Scheduler_Presets_20
Tracker_as_Calendar_09
Tracker_as_Calendar_10
Hide Fixed Top Nav Bar on Scroll 19
Easy_GeoBlog
test_profile_change
Profiles_in_Wizard
Random_header_images_14
Hide Fixed Top Nav Bar on Scroll 19
How to Create Profiles
Test_All_Plugins
JonnyBs_Luxury_Tiki_Setup
Collaborative_Multilingual_Terminology
Profile_Test_all_Modules_Test_all_Modules_page
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
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 tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!