preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: wiki_sample_page data: name: SamplePage description: A sample page lang: en content: wikicontent:WikiHandlerSamplePage
Field name | Mandatory | Value |
type | yes | must be "wiki_page" |
ref | can link to a category or structure. see Object References. | |
name | yes | The name of the page to be created. Can be different from local pagename. |
description | The page description. | |
lang | Page language as the two letter code (ex: fr, en, es) | |
content | yes | Initial page content. To simplify the profile, large pages can be included from a remote location in the same profile repository. This is done by using the wikicontent: prefix, as seen in the example. |
|
|||
Lines: 22-26 | Lines: 22-26 | ||
content|yes|Initial page content. To simplify the profile, large pages can be included from a remote location in the same profile repository. This is done by using the ''wikicontent:'' prefix, as seen in the example. | content|yes|Initial page content. To simplify the profile, large pages can be included from a remote location in the same profile repository. This is done by using the ''wikicontent:'' prefix, as seen in the example. | ||
mode| |''create'', ''update'', ''append'', ''create_or_append'', ''create_or_update'' (default). Handler mode that determines behavior on existing page. ''create'' will prevent installation if page already exists. ''update'' and ''append'' require the page to exist prior to profile installation. | mode| |''create'', ''update'', ''append'', ''create_or_append'', ''create_or_update'' (default). Handler mode that determines behavior on existing page. ''create'' will prevent installation if page already exists. ''update'' and ''append'' require the page to exist prior to profile installation. | ||
- | translations| |List of page |
+ | translations| |List of page references to be attached as translations. Use this syntax: -+ ~np~[ $pageref1]~/np~ +-, or if several: -+ ~np~[ $pageref1, $pageref2]~/np~ +- |
message| |Specify the version message. Will default to modification made by profile installer. (>=4.0) | message| |Specify the version message. Will default to modification made by profile installer. (>=4.0) | ||
wysiwyg| |y or n. If set to y, will create/update the page in wysiwyg editor mode. Otherwise created wiki page won't load in wysiwyg mode (>=6.0) | wysiwyg| |y or n. If set to y, will create/update the page in wysiwyg editor mode. Otherwise created wiki page won't load in wysiwyg mode (>=6.0) | ||
Lines: 69-74 | Lines: 69-74 | ||
((Help_Pages)) | ((Help_Pages)) | ||
- | (( |
+ | ((Custom_Contact_Form)) |
((Profile_Repository_Profile_3x)) | ((Profile_Repository_Profile_3x)) | ||
((Example_Wiki_Profile)) | ((Example_Wiki_Profile)) |