The purpose of this profile is to generate a quick start for a Web Presence of a typical small business. The profile will ask a few questions.
YAML
objects:
-
type: menu
ref: SOWP_split_level_menu
data:
name: My Menu
description: A menu containing the base navigation of the site
collapse: none
position: left
order: 1
groups: [ Anonymous ]
items:
-
name: Home
url: ((HomePage))
groups: [ Anonymous ]
-
name: About
url: ((About))
groups: [ Anonymous ]
items:
-
name: History
url: ((History))
groups: [ Anonymous ]
-
name: Team
url: ((Team))
groups: [ Anonymous ]
-
name: Products
url: ((Products))
groups: [ Anonymous ]
-
name: Services
url: ((Services))
groups: [ Anonymous ]
-
name: Newletter
url: ((Newsletter))
groups: [ Anonymous ]
-
name: Contact
url: ((Contact))
groups: [ Anonymous ]
-
name: Admin menu
url: tiki-admin_menu_options.php?menuId=$profileobject:SOWP_split_level_menu$
perms: [ edit_menu_option ]
Features
Navigation & look
YAML
preferences:
style: feb12.css
feature_topbar_id_menu: $profileobject:SOWP_split_level_menu$
siteTitle: $profilerequest:browsertitle$The title I want in the browser$
feature_phplayers: y
feature_cssmenus: y
feature_top_bar: y
feature_sitemenu: y
Functionality
YAML
preferences:
feature_wiki: y
feature_search: y
feature_page_title: n
feature_wiki_ext_icon: n
feature_file_galleries: y
feature_trackers: y
feature_articles: y
rss_articles: y
Wiki pages
YAML
objects:
-
type: wiki_page
ref: wiki_sample_page_About
data:
name: About
description: About
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_History
data:
name: History
description: History
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Team
data:
name: Team
description: Team
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Products
data:
name: Products
description: Products
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Services
data:
name: Services
description: Services
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Contact
data:
name: Contact
description: Contact
lang: en
mode: create_or_update
content: wikicontent:Contact_us
-
type: wiki_page
ref: wiki_sample_page_Newsletter
data:
name: Newsletter
description: Newsletter
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
Extends
Contact_Form
YAML
#dependencies:
#- $profiles.tikiwiki.org:Contact_Form:Contact_us
objects:
-
type: tracker
ref: contact_us_form
data:
name: Contact us
description: Contact us form
default_status: open
show: [ status, creation_date, modification_date, list_modification_date ]
allow: [ comments ]
-
type: tracker_field
ref: contact_us_summary
data:
name: Summary
tracker: $contact_us_form
type: text_field
flags: [ searchable, public, list, mandatory, link ]
order: 10
-
type: tracker_field
ref: contact_us_name
data:
name: Your name
tracker: $contact_us_form
type: text_field
flags: [ searchable, public, list ]
order: 20
-
type: tracker_field
ref: contact_us_email
data:
name: Your email
tracker: $contact_us_form
type: email
flags: [ searchable, public, list ]
order: 30
-
type: tracker_field
ref: contact_us_message
data:
name: Your message
tracker: $contact_us_form
type: text_area
flags: [ searchable, public ]
order: 40
Permissions
profile definition
Anonymous has no destructive action
Registered group : nothing for now
Admins: all perms
YAML
objects:
-
ref: Publishing_Permissions
permissions:
Anonymous:
allow:
- view
- read_blog
- view_calendar
- view_events
- read_article
- read_comments
- view_faqs
- download_files
- list_file_galleries
- view_fgal_explorer
- view_fgal_path
- view_file_gallery
- forum_read
- view_html_pages
- subscribe_email
- view_sheet
- view_shoutbox
- live_support
- search
- site_report
- tell_a_friend
- tracker_view_comments
- list_trackers
- tracker_view_ratings
- view_trackers
Registered:
description: Will be ignored because group is already created
Admins:
description: Site administrators
allow:
- admin
Personalization
Sender email: I want no default: how?
later: Add company name & logo in top somewhere
Dependencies
Uses:
Test_All_Themes General_File_Gallery General_Forum Sample_Articles_include
YAML
dependencies:
- $profiles.tikiwiki.org:Test_All_Themes:Test_All_Themes
- $profiles.tikiwiki.org:General_File_Gallery:General_File_Gallery
- $profiles.tikiwiki.org:Sample_Articles_include:Sample_Articles_include
Todo
- Change perm layout to the easier one to read used at TikiPress_MU