Loading...
 

Company_Intranet_4x_Debug



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 Company Intranet 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 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 (Quick List)

  • Wiki (Collaboration)
  • Company News Blog
  • Support Forum
  • Company Directory
  • Articles
  • Newsletters
  • Calendar
  • Internal Messaging
  • Personal Spaces
  • Shoutbox
  • Many More...

Profile Code (YAML)


General

YAML
preferences:
 browsertitle: $profilerequest:browsertitle$Our Intranet$
 sitetitle: $profilerequest:sitetitle$Our Intranet$
 sitesubtitle: $profilerequest:sitesubtitle$Improving collaboration$
 feature_sitelogo: y # This permits logo, title and 
 feature_backlinks: y
 style: coelesce.css
 feature_iepngfix: y  # prevents major ugliness in IE6
 feature_useGroupHome: y
 allowRegister: n
 forgotPass: y
 feature_userPreferences: y
 feature_phplayers: y
 feature_cssmenus: y
 feature_top_bar: y
 feature_sitemenu: y


Groups & Permissions

YAML
objects:
 -
  ref: Intranet_Permissions
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow: []
  deny: []
 Editors:
  description: Trusted users
  allow:
   - admin_freetags
   - admin_quicktags
   - admin_shoutbox
 Admins:
  description: Have all rights
  allow: [ admin ]


Top Menu
YAML
preferences:
 feature_topbar_id_menu: $profileobject:Company_Intranet_menu$


Top Menu Items
YAML
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: Company Directory 
      url: ((Company Directory))
      groups: [ Registered ] 
     - 
      name: Forums
      url: tiki-forums.php
      groups: [ Registered ]
     - 
      name: Help
      url: ((Help))
      groups: [ Registered ]
      items:
         - 
          name: Wiki Syntax Help
          url: ((Wiki Help))
          groups: [ Registered ]
     -
      name: Admin menu
      url: tiki-admin_menus.php
      permissions: [ edit_menu ]


Modules

YAML
objects:
 -
  type: module
  ref: module_since_last_visit_new
  data:
   name: since_last_visit_new
   position: right
   groups: [ Registered ]
   order: 20


External RSS Feed
This will create an RSS Feed that will be used as a plugin on the homepage
YAML
objects:
  -
    type: rss
    ref: external_rss_news
    data:
      name: External Business News
      url: http://feeds.reuters.com/reuters/businessNews


Articles

YAML
preferences:
 feature_articles: y


Groups & Permissions
YAML
objects:
 -
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow:
   - read_article
  deny: [  ]
 Editors:
  description: Trusted users
  allow:
   - post_article
 Admins:
  description: Have all rights
  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


Blogs

YAML
preferences:
 feature_blogs: y


Groups & Permissions
YAML
objects:
 -
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow:
   - read_blog
  deny: [  ]
 Editors:
  description: Trusted users
  allow:
   - blog_post
   - create_blogs
 Admins:
  description: Have all rights
  allow: [ admin ]


Blog & Blog Post
This will create a sample blog that will be linked under the Presidents profile in Team Description
YAML
objects:
  -
    type: blog
    ref: president_blog
    data:
      title: President's Blog
      description: Company News and Updates
      user: admin
      use_title: y
      allow_comments: y
      heading: $profilerequest:Heading$Company News and Updates$
  -
    type: blog_post
    data:
      blog: $president_blog
      title: Sample Post
      content: This post was created by the installation profile.
  -
    type: blog_post
    data:
      blog: $president_blog
      title: Q3 Results are in
      content: Profits are up, must be our new Intranet
  -
    type: blog_post
    data:
      blog: $president_blog
      title: Great team work
      content: I would like to personally thank everyone for their team work and dedication to our company



Forums

YAML
preferences:
 feature_forums: y


Groups & Permissions
YAML
objects:
 -
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow:
   - forum_edit_own_posts
   - forum_post
   - forum_post_topic
   - forum_read
   - forums_report
   - forum_vote
  deny: [  ]
 Editors:
  description: Trusted users
  allow:
   - admin_forum
 Admins:
  description: Have all rights
  allow: [ admin ]


Create Support forum

YAML
objects:
 -
  type: forum
  ref: support_forum
  data:
   name: Support Forum
   enable: [ topic_smiley ]
   list: [ topic_reads ]


Trackers

YAML
preferences:
 feature_trackers: y


Groups & Permissions
YAML
objects:
 -
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow:
   - create_tracker_items
   - list_trackers
   - view_trackers
   - watch_trackers
  deny: [  ]
 Editors:
  description: Trusted users
  allow:
   - modify_tracker_items
 Admins:
  description: Have all rights
  allow: [ admin ]


Company Directory Tracker Definition
This Tracker is setup to be used as a Company Directory
YAML
objects:
 -
  type: tracker
  ref: directory_tracker
  data:
   name: Company Directory
   description: Company Directory
   default_status: open
   show: [ creation_date, modification_date, list_modification_date ]
 -
  type: tracker_field
  ref: directory_first_name
  data:
   name: First Name
   tracker: $directory_tracker
   type: text_field
   flags: [ searchable, public, list, mandatory, link ]
   order: 10
 -
  type: tracker_field
  ref: directory_last_name
  data:
   name: Last Name
   tracker: $directory_tracker
   type: text_field
   flags: [ searchable, public, list, mandatory, link ]
   order: 20 
 -
  type: tracker_field
  ref: directory_position
  data:
   name: Position
   tracker: $directory_tracker
   type: text_field
   flags: [ searchable, public, list, mandatory ]
   order: 30 
 -
  type: tracker_field
  ref: directory_phone
  data:
   name: Phone
   tracker: $directory_tracker
   type: text_field
   flags: [ searchable, public, list, mandatory ]
   order: 40 
 -
  type: tracker_field
  ref: directory_email
  data:
   name: E-Mail
   tracker: $directory_tracker
   type: email
   flags: [ searchable, public, list, mandatory ]
   order: 50


Sample data for Company Directory

YAML
objects:
 -
  type: tracker_item
  ref: directory_employee_001
  data:
   tracker: $Company_Intranet:directory_tracker
   status: open
   values:
    - [ $Company_Intranet:directory_first_name, John ]
    - [ $Company_Intranet:directory_last_name, Doe ]
    - [ $Company_Intranet:directory_position, President ]
    - [ $Company_Intranet:directory_phone, (555) 444-3322 ]
    - [ $Company_Intranet:directory_email, jdoe@example.com ]
 -
  type: tracker_item
  ref: directory_employee_002
  data:
   tracker: $Company_Intranet:directory_tracker
   status: open
   values:
    - [ $Company_Intranet:directory_first_name, Mary ]
    - [ $Company_Intranet:directory_last_name, Smith ]
    - [ $Company_Intranet:directory_position, Secretary ]
    - [ $Company_Intranet:directory_phone, (555) 777-3322 ]
    - [ $Company_Intranet:directory_email, msmith@example.com ]






Wiki

YAML
preferences:
 feature_wiki: y
 feature_wiki_print: y
 feature_wiki_attachments: y
 feature_wiki_comments: y
 wiki_edit_plugin: y
 wikiplugin_bloglist: y
 wikiplugininline_group: n
 feature_wiki_userpage: y


Groups & Permissions
YAML
objects:
 -
permissions:
 Anonymous:
  allow: [ ]
  deny: [ view ]
 Registered:
  description: Will be ignored because group is already created
  allow:
   - wiki_view_history
   - wiki_view_source
   - plugin_viewdetail
   - plugin_preview
   - view_backlink
   - view
  deny: [  ]
 Editors:
  description: Trusted users
  allow:
   - plugin_approve
   - admin_wiki
 Admins:
  description: Have all rights
  allow: [ admin ]


Modules

YAML
objects:
 -
  type: module
  ref: module_quick_edit
  data:
   name: quick_edit
   position: right
   groups: [ Registered ]
   order: 3


Wiki Pages
YAML
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: company_intranet_company_directory_include
    data:
      name: Company Directory
      description: Company Directory
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_tracker_directory_include
  -
    type: wiki_page
    ref: wiki_sample_page_History
    data:
      name: History
      description: History
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_history
  -
    type: wiki_page
    ref: wiki_sample_page_Team
    data:
      name: Team
      description: Team
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_team_include
  -
    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:company_intranet_procedures
  -
    type: wiki_page
    ref: wiki_sample_page_about
    data:
      name: about
      description: About
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_about_include
  -
    type: wiki_page
    ref: wiki_sample_page_help
    data:
      name: Help
      description: Help
      lang: en
      mode: create_or_update
      content: wikicontent:company_intranet_help_include
  -
    type: wiki_page
    ref: wiki_sample_page_syntax_help
    data:
      name: Wiki Help
      description: Wiki Help
      lang: en
      mode: create_or_update
      content: wikicontent:Simple_Sample_Page
  -
    type: wiki_page
    ref: wiki_company_intranet_instructions
    data:
      name: Instructions
      description: Profile Instructions
      lang: en
      mode: create_or_update
      content: wikicontent:Company_Intranet_Instructions_Include