Loading...
 

Small_Organization_Web_Presence_4x



PLEASE READ

This is a sample profile. The goal is to allow anyone who wishes to view a fully functional Tiki site or needs a Small Company Web Presence and would like to start with a solid foundation.

Remember that once you install this profile, you are NOT LOCKED IN to any feature, menu or content. Everything can always be changed, deleted or added to.


Introduction

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

Features (Quick List)

  • General Brochure Type pages
  • Articles (for news and company updates)
  • RSS Feed (to allows visitors to subscribe to your articles)
  • Many More...

Profiles Code (YAML)

.

General

YAML
preferences:
 feature_iepngfix: y  # prevents major ugliness in IE6
 feature_topbar_id_menu: $profileobject:SOWP_split_level_menu$
 feature_phplayers: y
 feature_cssmenus: y
 feature_top_bar: y
 feature_sitemenu: y 
 sitetitle: $profilerequest:sitetitle$Our organization$
 sitesubtitle: $profilerequest:sitesubtitle$Be a part of it$
 browsertitle: $profilerequest:browsertitle$Our organization$


Permissions

YAML
objects:
 -
  ref: Publishing_Permissions
permissions:
 Anonymous:
  allow: 
   - read_comments
   - tell_a_friend
 Registered:
  description: Will be ignored because group is already created
  allow: []
 Admins:
  description: Site administrators
  allow:
   - admin





Menu
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
   items:
     - 
      name: Home
      url: ((HomePage))
      groups: [ Anonymous ]
     - 
      name: Products
      url: ((Products))
      groups: [ Anonymous ]
     - 
      name: Services
      url: ((Services))
      groups: [ Anonymous ]
     - 
      name: About
      url: ((About))
      groups: [ Anonymous ]
      items:
         - 
          name: Contact Us
          url: tiki-contact.php
          groups: [ Anonymous ]
         - 
          name: Mission
          url: ((Mission))
          groups: [ Anonymous ]


Login

This is a brochureware site, thus, hide login at the bottom.
YAML
preferences:
 feature_site_login: n
 feature_bot_logo: y
 bot_logo_code: <br /><center>{if $user eq ''}<a href="tiki-login_scr.php"><img src="pics/large/stock_quit.png" alt="Login" /><br />{tr}login{/tr}</a> {else}<a href="tiki-logout.php"><img src="pics/large/stock_quit.png" alt="Logout" /><br />{tr}logout{/tr}</a>{/if}</center>


Wiki

YAML
preferences:
 feature_wiki: y
 wiki_edit_plugin: y


Permissions

YAML
objects:
 -
  ref: Publishing_Permissions
permissions:
 Anonymous:
  allow: 
   - view
 Registered:
  description: Will be ignored because group is already created
  allow: []
 Admins:
  description: Site administrators
  allow:
   - admin





Modules

YAML
objects:
 -
  type: module
  ref: module_quick_edit
  data:
   name: quick_edit
   position : left
   groups : [ Registered, Admins ]
   order: 10



Wiki pages

YAML
objects:
  -
    type: wiki_page
    ref: Small_Organization_Web_Presence_about_include
    data:
      name: About
      description: About
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_about_include
  -
    type: wiki_page
    ref: Small_Organization_Web_Presence_home_page_include
    data:
      name: HomePage
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_home_page_include
  -
    type: wiki_page
    ref: Small_Organization_Web_Presence_products_include
    data:
      name: Products
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_products_include
  -
    type: wiki_page
    ref: Small_Organization_Web_Presence_services_include
    data:
      name: Services
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_services_include
  -
    type: wiki_page
    ref: Small_Organization_Web_Presence_mission_include
    data:
      name: Mission
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:Small_Organization_Web_Presence_mission_include




Articles

YAML
preferences:
 feature_articles: y
 rss_articles: y


Permissions

YAML
objects:
 -
  ref: Publishing_Permissions
permissions:
 Anonymous:
  allow: 
   - read_article
 Registered:
  description: Will be ignored because group is already created
  allow: []
 Admins:
  description: Site administrators
  allow:
   - admin





Sample Articles
YAML
objects:
 -
  type: topic
  ref: topic
  data:
   name: General
 -
  type: article
  ref: Sample_Articles_include
  data:
   title: Hello World!
   body: This is a sample article
   heading: Thanks for reading this announcement, even if it contains nothing of value.
   type: Article
   topic: $topic
 -
  type: article
  ref: Sample_Articles_include2
  data:
   title: How Articles Work
   body: As you can see, when viewing a full article. The Header and Body are combined together to create the entire article text. 
   heading: This is text that was added in the Header of the Article
   type: Article
   topic: $topic

Contact Us

YAML
preferences:
 feature_messages: y
 feature_contact: y
 contact_anon: y


Permissions

YAML
objects:
 -
  ref: Publishing_Permissions
permissions:
 Anonymous:
  allow: 
   - messages 
 Registered:
  description: Will be ignored because group is already created
  allow: []
 Admins:
  description: Site administrators
  allow:
   - admin



YAML
preferences:
 feature_search: n


Permissions

YAML
objects:
 -
  ref: Publishing_Permissions
permissions:
 Anonymous:
  allow: 
   - search
 Registered:
  description: Will be ignored because group is already created
  allow: []
 Admins:
  description: Site administrators
  allow:
   - admin

Todo

  • Change perm layout to the easier one to read used at TikiPress_MU

Test plan

Status

The test plan loosely being followed for this profile can be found on Collaborative Multilingual Terminology

Last tested
see SOWP Test Log for details

  • Date: 2009-12-24
  • By who: Patricia Campbell
  • Branch/Revision number: 4.x/24033

  • Date: 2009-11-26
  • By who: Patricia Campbell
  • Branch/Revision number: 4.x/23532

  • Date: 2009-11-19
  • By who: Patricia Campbell
  • Branch/Revision number: 4.x/19042

see SOWP Test Log for details

Set up the site for testing

  • Reinitialize the database
  • Install the Small Organization Web Presence profile

Set up the users

  • Create two users: test_administrator (in Admin group) and test_registered (in Registered group) for each:
    • Admin > Users (Users link at bottom of page)
    • Add New User tab
    • In User, type name of the user
    • Type a password twice.
    • For Send an email to the user in order to allow him to validate his account.
      • Uncheck for test_admin
      • check for test_registered
    • Add button.
    • Your new user appears in the list at bottom of page. To add to the appropriate group:
      • click on the group icon
      • click on the green plus sign beside the groups you want to add this user to.
  • Test the ability to logon
    1. immediately as test_admin expected result: normal logon
    2. immediately as test_registered expected result: error you did not validate your account
    3. validate test_registered through the email / ensure email recieved
    4. logon as test_registered expected result: normal logon

Testing anonymous permissions

  • Logoff (Ensure you are logged off (when this is so you will see a Login button)
  • Test that you CAN:
    • See the following buttons / have them each load the appropriate page:
      • Home (the site's home page)
      • Products
      • Services
      • About
      • drop down: About->Contact Us
      • drop down: About->Mission
    • Search the content ( Find ) (for example: 'tiki')
    • Subscribe to RSS feed
  • Test that you CANNOT:
      • Modify/Add/Delete/Post Comments on any of the pages

Testing registered permissions

  • Logon as tiki_registered
  • Test that you CAN:
    • See the following buttons / have them each load the appropriate page:
      • Home (the site's home page)
      • Products
      • Services
      • About
      • drop down: About->Contact Us
      • drop down: About->Mission
    • Search the content ( Find ) (for example: 'tiki')
    • Subscribe to RSS feed
  • Test that you CANNOT:
    • Modify/Add/Delete/Post Comments on any of the pages

Testing administrator permissions

  • Logon as tiki_administrator
  • Test that you CAN:
    • create an article
    • create wiki pages

Category: release