Loading...
 
Skip to main content

History: Category_Permissions_Test

Source of version: 1

Copy to clipboard
            {maketoc}
The purpose of this profile is to generate a quick start for a Corporate Intranet of a typical medium-sized business. The profile will ask a few questions.

This will have the general look of ui.tikiwiki.org with the coelesce.css theme.

!!Features & settings
{CODE(caption=>YAML)}
preferences:
 feature_articles : y
 feature_blogs : y
 feature_calendar : y
 feature_file_galleries : y
 feature_forums : y
 feature_polls : y
 feature_trackers : y
 feature_newsletters : y
 feature_categories : y
 feature_score : y
 feature_trackers : y
 feature_search : y
 feature_minichat : y
 feature_user_watches : y
 feature_group_watches : y
 feature_groupalert : y
 feature_messages : y
 feature_notepad : y
 feature_tasks : y
 feature_mytiki : y
 feature_user_bookmarks : y
 feature_userfiles : y
 feature_wiki : y
 feature_wiki_print : y
 feature_wiki_attachments: y
 feature_wiki_comments: y
 feature_backlinks: y
 style: coelesce.css
 feature_useGroupHome : y
 allowRegister : n
 forgotPass : y
 feature_userPreferences : y
 wiki_edit_plugin: y
{CODE}

feature_wiki_structure?


!!Creating a menu

!!!Top bar menu
{CODE(caption=>YAML,wrap=1)}
preferences:
 feature_sitemenu : y
 feature_topbar_id_menu: $profileobject:Company_Intranet_menu$
{CODE}

!!!Menu items
{CODE(caption=>YAML,wrap=1)}
objects:
 -
  type: menu
  ref: Company_Intranet_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: About
      url: ((About))
      groups: [ Registered ]
      items:
         - 
          name: History
          url: ((History))
          groups: [ Registered ] 
         - 
          name: Team
          url: ((Team))
          groups: [ Registered ]
     - 
      name: Policies & procedures 
      url: ((Policies_procedures))
      groups: [ Registered ] 
     - 
      name: Calendar
      url: tiki-calendar.php
      groups: [ Registered ]
     - 
      name: Forums
      url: tiki-forums.php
      groups: [ Registered ]
     - 
      name: Files
      url: tiki-list_file_gallery.php
      groups: [ Registered ]
     - 
      name: Contact
      url: ((Contact us))
      groups: [ Registered ]
     -
      name: Admin menu
      url: tiki-admin_menu_options.php?menuId=43
      permissions: [ edit_menu_option ]
{CODE}


*Wiki pages 
**Policies & procedures
**New employee section
**About this site 
***What is a wiki
***Help
**How tos
***Set up voice mail
*((Employee_directory)) (phone book)
*Forms
**Vacation request
**Employee referrals
**Employee suggestions
*((Job_board))
*News
*Calendar
**Lost & Found, birth announcements, etc.
*Discussion forum
*Links 
**Public site
**Suppliers
*File gallery
**Files by dept


!!Wiki pages
FAQ: a Wiki page but with nice FAQ style format

Adds ((company_intranet_home_page_include))

{CODE(caption=>YAML,wrap="1")}
objects:
  -
    type: wiki_page
    ref: company_intranet_home_page_include
    data:
      name: HomePage
      description: Home
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_home_page_include
  -
    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_Newsletter
    data:
      name: Newsletter
      description: Newsletter
      lang: en
      mode: create_or_update
      content: wikicontent:Simple_Sample_Page
  -
    type: wiki_page
    ref: wiki_sample_page_policies_procedures
    data:
      name: policies_procedures
      description: Policies and procedures
      lang: en
      mode: create_or_update
      content: wikicontent:Simple_Sample_Page
  -
    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_conact_us
    data:
      name: contact us
      description: Contact us
      lang: en
      mode: create_or_update
      content: wikicontent:Simple_Sample_Page
{CODE}


!!Special permission on HomePage

This page ((company_intranet_home_page_include)) created above

{CODE(caption=>YAML,wrap=>1)}
permissions:
 Anonymous:
  objects:
   -
    type: wiki_page
    id: $company_intranet_home_page_include
    allow: [ view ]
 Registered:
  description: Will be ignored because group is already created
  objects:
   -
    type: wiki_page
    id: $company_intranet_home_page_include
    allow: [ edit ]
{CODE}

!!Modules

{CODE(caption=>YAML)}
objects:
 -
  type: module
  ref: module_shoutbox
  data:
   name: shoutbox
   position : right
   groups : Registered
   order: 5
 -
  type: module
  ref: module_upcoming_events
  data:
   name: upcoming_events
   position : right
   groups : Registered
   order: 10
 -
  type: module
  ref: module_since_last_visit_new
  data:
   name : since_last_visit_new
   position : right
   groups : Registered
   order: 20
{CODE}





!!Personalization
__Sender email: I want no default: how?__
later: Add company name & logo in top somewhere

{CODE(caption=>YAML)}
preferences:
 browsertitle: $profilerequest:browsertitle$Our Intranet$
 sitetitle: $profilerequest:sitetitle$Our Intranet$
 sitesubtitle: $profilerequest:sitesubtitle$Improving collaboration$
 sitelogo_src:  #No logo by default, because it would be Tiki logo
 feature_sitelogo: y # This permits logo, title and subtitle
{CODE}




!!Dependencies
Uses:
*((Test_All_Themes))
*((Intranet_Permissions)) 
*((General_File_Gallery))
*((General_Forum))
*((Sample_Articles_include))
*((live_support_include))


{CODE(caption=>YAML)}
dependencies:
 - $profiles.tikiwiki.org:Intranet_Permissions:Intranet_Permissions
 - $profiles.tikiwiki.org:General_File_Gallery:General_File_Gallery
 - $profiles.tikiwiki.org:General_Forum:General_Forum
 - $profiles.tikiwiki.org:Sample_Articles_include:Sample_Articles_include
 - $profiles.tikiwiki.org:Live_Support:live_support_include
 - $profiles.tikiwiki.org:Test_All_Themes:Test_All_Themes
 - $profiles.tikiwiki.org:Powered_by:Powered_by   # ((Powered_by)) 
{CODE}



!!To do 
#Remove hardcoded menu admin link  $Company_Intranet_menu vs $profileobject:Company_Intranet_menu$
#Put better content in pages

        

History

Information Version
Sat 14 of Jun, 2014 18:16 GMT-0000 ostreet sd 12
Sat 14 of Jun, 2014 18:16 GMT-0000 ostreet sd 11
Sat 24 of Oct, 2009 19:05 GMT-0000 Geoff Brickell 10
Sat 09 of May, 2009 16:51 GMT-0000 Pascal St-Jean 8
Sat 09 of May, 2009 16:10 GMT-0000 Pascal St-Jean 7
Sat 09 of May, 2009 16:09 GMT-0000 Pascal St-Jean 6
Sat 09 of May, 2009 16:09 GMT-0000 Pascal St-Jean 5
Sat 09 of May, 2009 15:58 GMT-0000 Pascal St-Jean 4
Sat 09 of May, 2009 15:58 GMT-0000 Pascal St-Jean 3
Sat 09 of May, 2009 15:34 GMT-0000 Pascal St-Jean 2
Sat 09 of May, 2009 15:28 GMT-0000 Pascal St-Jean 1