This is only for testing purposes, it's very unstable so don't use it in a production server!!!
NOTE: If you want to test in your localhost and use this profile as a Data Channel follow this instructions:
First, create a wiki page with the name ws_prototype (or other if you want, but you must adapt the next commands to fit with the name) and then copy this page into your ws_prototype page.
Next you must add this line in data channel field in profiles section:
Data Channel List
ws_prototype, tiki://local, ws_prototype, Admins
Now run the data channel using this uri (adapt it if necessary to fit in your local installation):
Uri Handler WS
http://localhost/ws/tiki-channel.php?channels[0][channel_name]=ws_prototype
And enjoy (probably with a sea of bugs and related problems ;)!!!
preferences:
feature_workspaces: y
objects:
-
type: wiki_page
data:
name: Wikipage
description: A sample page
mode: create_or_update
content: wikicontent:WikiHandlerSamplePage
-
type: wiki_page
data:
name: Wikipage2
description: This is another wiki page
mode: create_or_update
content: wikicontent:WikiHandlerSamplePage
-
type: ws
data:
name: UAH WS
description: We are trying the WS Handler
parent: null
groups:
-
name: Circuitos Electricos
description: This group is for the subject Circuitos Electricos in the UAH WS
allow:
admin_groups, admin_objects
new_group: false
members:
aldo, ben, rober
-
name: Componentes Avanzados
description: This group is for the subject Componentes Avanzados
allow:
admin_ws
new_group: false
members:
aldo, ben
items:
-
name: Wikipage
type: wiki_page
groups:
$ws_directive:all
allow:
view, edit
-
name: Wikipage2
type: wiki_page
groups:
Componentes Avanzados
allow:
view
YAML
preferences:
feature_file_galleries: y
objects:
-
type: file_gallery
ref: primary
data:
name: Company XYZ
description: All files owned by the company
owner: admin
archives: 5
flags: [ public, visible, lockable ]
column: [ icon, name, created, creator, files ]
-
type: file_gallery
ref: public
data:
name: Marketing
parent: $primary
description: For external publication
owner: johndoe
flags: [ public ]
column: [ icon, name, files ]
popup: [ description ]