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.
Activating features
YAML
preferences:
style: thenews.css
feature_wiki: y
feature_phplayers: y
feature_cssmenus: y
feature_top_bar: y
feature_sitemenu: y
feature_topbar_id_menu: $profileobject:SOWP_split_level_menu$
siteTitle: $profilerequest:browsertitle$The title I want in the browser$
Will have
- one top level horizontal menu
- second & third level menus will be on the left, and contextual to what menu item is chosen at the top
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: Products
url: ((Products))
groups: [ Anonymous ]
- name: Services
url: ((Services))
groups: [ Anonymous ]
- name: Contact
url: ((Contact))
groups: [ Anonymous ]
- name: About
url: ((About))
groups: [ Anonymous ]
items:
- name: History
url: ((History))
groups: [ Anonymous ]
- name: Team
url: ((Team))
groups: [ Anonymous ]
- name: Testam
url: ((Team))
groups: [ Anonymous ]
level: 0
items:
moved to 1 preference section
Creating wiki pages
YAML
objects:
-
type: wiki_page
ref: wiki_sample_page_About
data:
name: About
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_History
data:
name: History
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Team
data:
name: Team
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Products
data:
name: Products
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Services
data:
name: Services
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
-
type: wiki_page
ref: wiki_sample_page_Contact
data:
name: Contact
description: A sample page
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
Extends
Contact_Form
YAML
dependencies:
- $profiles.tikiwiki.org:Contact_Form:contact_us_form
Permissions
Uses:
Publishing_Permissions
YAML
dependencies:
- $profiles.tikiwiki.org:Publishing_Permissions:Publishing_Permissions
Personalization
Sender email: I want no default: how?
later: Add company name & logo in top somewhere