This aims to be a profile for installing a customized tiki 3 site, based on this profile, adapted to a Faculty department, or research group, in University of Barcelona (UB -
http://www.ub.edu ).
This is a work in progress...
PLEASE READ
This is a sample profile. The goal is to allow anyone who wishes to view a fully functional TikiWiki site or needs a Collaborative Community 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 Univerity Department in UB similar to
http://margalef.ourproject.org (demo, using Tiki 1.9.x) or
http://www.ub.edu/optics/tiki (used for production, using Tiki 2.4). The profile will ask a few questions.
Features (Quick List)
- Wiki (Collaborative writing of documents)
- Forum
- Calendar
- Personal Spaces
- CSS based horizontal Menu
- Simple Wiki based lateral Menu
- Many More...
Features & Settings (YAML)
YAML
preferences:
style: thenews.css
feature_iepngfix: y # prevents major ugliness in IE6
sitetitle: $profilerequest:sitetitle$Our Department$
sitesubtitle: $profilerequest:sitesubtitle$Our contact address$
browsertitle: $profilerequest:browsertitle$Our Universtiy department$
feature_phplayers: y
feature_cssmenus: y
feature_top_bar: y
feature_sitemenu: y
allowRegister: y
forgotPass: y
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_userPreferences: y
feature_wiki : y
feature_wiki_print : y
feature_wiki_attachments: y
feature_wiki_comments: y
feature_backlinks: y
feature_wikiapproval: n
wiki_edit_plugin: y
feature_categories: y
feature_file_galleries: y
feature_forums: y
feature_forum_parse: y
modseparateanon: y
feature_modulecontrols: y
This profile attempted to put the content of site_width_include in
Admin> Custom Site Header > Content but since it's not working automatically as of May 2009, you need to copy-paste the content from the following code box into your custom site header.
{literal}
<style type="text/css">
/*
UB theme for University of Barcelona. Xavier de Pedro
Adapted from Planetfall theme for TikiWiki CMS/Groupware, compatible with release 2.0.
This is an adaptation of the original GPL-licensed theme for
Mambo/Joomla by Rhuk. See http://zukakakina.com or http://themes.tikiwiki.org for further information about and upgrades for
this theme.
*/
/***** XHTML Elements ******/
@import "eatlon.css"; /* Here we import the base style. */
@import "workspaces_only.css"; /* Here we import the base style for workspaces. */
.horbar {
margin-top: 3px;
width: 100%}
.horbaritem a,
.horbaritem a:visited {
padding: 1px 3px;
text-decoration: none;
font: 0.8em Verdana, Helvetica, Arial, Sans-Serif;
color: white;
font-weight: bold;
border: 1px solid transparent;
text-align: center;
border-right: 1px solid #6A6A6A}
body {
background: white url(ub/body_bg.gif) repeat-x;
font-family: arial, sans-serif;
color: #505050;
padding: 0;
margin: 0;
text-align: left;
font: 76%/1.4em black Verdana, Geneva, Arial, Helvetica, sans-serif}
.post .postbody .content {
height: 100%;
padding: 0 3px 3px;
text-align: left;
width: 100%;
color: #505050;
margin: 0}
td#header {
text-align: left;
height: 92px;
background: #fff url(ub/head_bg.gif) repeat-x}
td#rightmargin {width: 6%}
td#leftmargin {width: 6% }
td#leftcolumn .colwrapper {padding: 10px 20px}
td#rightcolumn {
width: 180px;
border-left: 1px solid #e0e0e0}
td#rightcolumn .colwrapper {padding: 10px 20px}
td#rightborder {}
fieldset {
border: solid 1px #A9A9A9;
padding: 5px}
/* Site Header & Identity */
div#header-top {
background: url(ub/banner_none.gif) no-repeat right;
height: 110px;
position: relative}
/* Site Identity */
#siteheader {
text-align: left;
background: transparent;
vertical-align: middle;
padding-top: 1em;
width: 80%;
padding-left: 25px;
padding-right: 25px;
margin: 10}
#sioptions {padding: 0.2em}
#sioptionscentered {text-align: center}
div.floatright {
float: right;
clear: none}
div.floatleft {
float: left;
clear: none}
#sitelogo {margin: auto !important}
div#sitead {margin: auto}
#sitead.floatright {padding-right: 100px}
#sitead.floatleft {padding-left: 100px}
#sioptionscentered #sitead.floatleft {padding-left: 10px}
.floatright img {margin-right: 40px}
#bannertopright {padding-right: 1em}
#sitelocbar {float: left}
#siteloginbar {
text-align: right;
position: absolute;
bottom: 3px;
right: 20px}
input[id="sl-login-user"],
input[id="sl-login-pass"] {background: #e1e1e2}
#siteloginbar input.wikiaction {cursor: pointer}
/* #header text selectors, if needed */
#sitetitle,
#sitesubtitle {margin-left: 30px}
#sitetitle {
font-family: georgia, serif;
font-size: 320%;
font-weight: 100;
margin-top: 40px}
#sitetitle a,
#sitetitle a:visited {color: #8f8f8f}
#sitetitle a:hover {color: #8f8f8f; text-decoration: none}
#sitesubtitle {
font-size: 1em;
font-style: italic;
font-weight: 100;
margin-top: 18px}
#header a,
#header a:visited {}
#header a:hover {}
/* tiki-top_bar.tpl - menu and search */
#tiki-top {
background: url(eatlon/menu_bg.png) no-repeat right;
height: 0px}
#tiki-top .wrapper {
height: 78px;
background: url(eatlon/menu_bg.png) no-repeat;
padding-right: 10px;
padding-left: 10px;
margin-right: 30px}
margin-left: 60px}
#tiki-top a {}
#sitesearchbar {
float: right;
padding-right: 4px;
text-align: right;
display: block;
margin-right: 0 !important;
margin-top: 7px;
color: #8f8f8f}
td#footer {
background: #fff url(ub/bottom_bg.png) no-repeat right;
margin-top: 10px;
height: 163px}
td#footer .content {
background: #fff url(ub/bottom_bg.png) no-repeat left;
height: 163px;
text-align: center;
margin-top: 0px;
margin-right: 100px}
td#centercolumn {
border-left: 1px solid #e0e0e0;
border-right: 0px solid #e0e0e0}
/* end of css file */
</style>
{/literal}
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" summary="títol d'entorn, barra d'eines i títol principal">
<tr valign="bottom">
<td> <a name="inici"><img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/espai.gif" alt="imatge de diagramació" width="258" height="1"></a></td>
<td> <img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/espai.gif" alt="imatge de diagramació" width="408" height="1"></td>
<td> <img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/espai.gif" alt="imatge de diagramació" width="58" height="1"></td>
<td> <img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/espai.gif" alt="imatge de diagramació" width="1" height="1"></td>
</tr>
<tr>
<td width="1%" rowspan="2"><img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/cap-1_logoub.jpg" alt="Logo Universitat de Barcelona" width="258" height="66"></td>
<td width="98%" align="right" bgcolor="#00589C"><br><a style="font-size: 180%; text-decoration:none; color:white">{$prefs.sitetitle}</a></td>
<td width="1%"> <img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/cap-3_final.gif" alt="Imatge de diagramació" width="58" height="44"></td>
<td></td>
</tr>
<tr>
<td background="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/fons_barra_eines.gif" bgcolor="#C6CAD3" colspan="2" align="right">
<table summary="ítems de la barra d'eines" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left">{phplayers id=43 type=horiz}</td>
</tr>
</table></td>
<td> <img src="http://www.ub.edu/optics/tiki/styles/estils_ub/css_img/espai.gif" alt="imatge de diagramació" width="1" height="22"></td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%">
</table>
</td>
</tr>
</table>
<div>{$prefs.sitesubtitle}
{if $filegals_manager ne 'y' and $print_page ne 'y'}
{if $prefs.feature_sitesearch eq 'y' and $prefs.feature_search eq 'y' and $tiki_p_search eq 'y'}
<div id="sitesearchbar"{if $prefs.feature_sitemycode neq 'y' and $prefs.feature_sitelogo neq 'y' and $prefs.feature_sitead neq 'y' and $prefs.feature_fullscreen eq 'y' and $filegals_manager ne 'y' and $print_page ne 'y'}{if $smarty.session.fullscreen neq 'y'}style="margin-right: 80px"{/if}{/if}>
{if $prefs.feature_search_fulltext eq 'y'}
{include file="tiki-searchresults.tpl"
searchNoResults="false"
searchStyle="menu"
searchOrientation="horiz"}{else}
{include file="tiki-searchindex.tpl"
searchNoResults="false"
searchStyle="menu"
searchOrientation="horiz"}{/if}
</div>{* search the site *}
{/if}
{/if}
</div>
User Interface (YAML)
YAML
preferences:
feature_sitemenu : y
feature_topbar_id_menu: $profileobject:collaborative_community_menu$
YAML
objects:
-
type: menu
ref: collaborative_community_menu
data:
name: My Menu
description: A menu containing the base navigation of the site
collapse: none
items:
-
name: Home
url: ((HomePage))
-
name: About
items:
-
name: Community
url: ((Community))
-
name: Calendar
url: tiki-calendar.php
-
name: Forums
url: tiki-forums.php
-
name: Files
url: tiki-list_file_gallery.php
-
name: Help
items:
-
name: Wiki Syntax Help
url: ((Wiki Help))
-
name: Admin menu
url: tiki-admin_menus.php
permissions: [ edit_menu ]
Modules
YAML
objects:
-
type: module
ref: module_quick_edit
data:
name: quick_edit
position: right
groups: [ Registered ]
order: 3
-
type: module
ref: module_calendar_new
data:
name: calendar_new
position: right
groups: [ Anonymous ]
order: 4
-
type: module
ref: module_upcoming_events
data:
name: upcoming_events
position: right
groups: [ Anonymous ]
order: 5
-
type: module
ref: module_last_blog_posts
data:
name: last_blog_posts
position: right
groups: [ Anonymous ]
order: 10
-
type: module
ref: module_users_rank
data:
name: users_rank
position: right
groups: [ Registered ]
order: 15
-
type: module
ref: module_since_last_visit_new
data:
name: since_last_visit_new
position: right
groups: [ Registered ]
order: 20
Object Creation (YAML)
Wiki Pages
YAML
objects:
-
type: wiki_page
ref: collaborative_community_homepage_include
data:
name: HomePage
description: Home
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_HomePage
-
type: wiki_page
ref: collaborative_community_registered_homepage_include
data:
name: Registered HomePage
description: Registered Members HomePage
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_Registered_HomePage
-
type: wiki_page
ref: collaborative_community_instructions_include
data:
name: Instructions
description: Profile Instructions
lang: en
mode: create_or_update
content: wikicontent:Collaborative_Community_Instructions
-
type: wiki_page
ref: collaborative_community_about_include
data:
name: Community
description: About Community
lang: en
mode: create_or_update
content: wikicontent:Small_Organization_Web_Presence_services_include
-
type: wiki_page
ref: collaborative_community_help_include
data:
name: Wiki Help
description: Wiki Syntax Help
lang: en
mode: create_or_update
content: wikicontent:Simple_Sample_Page
File Gallery
YAML
objects:
-
type: file_gallery
ref: General_File_Gallery
data:
name: General
description: Images & files
owner: admin
archives: 0
flags: [ public, visible, lockable ]
column: [ icon, name, created, creator, files ]
Forum
YAML
objects:
-
type: forum
ref: General_Forum
data:
name: Discussion forum
attachments: everyone
enable: [ topic_smiley ]
list: [ topic_reads ]
Groups & Permissions (YAML)
Name | Description
|
Anonymous | Anonymous users can read articles
|
Registered | Just self-register with an email address
|
Editors | Can destroy & edit all content
|
SubAdmins | Almost all powers
|
Admins | All powers
|
YAML
permissions:
Anonymous:
allow:
- download_files
- forum_read
- list_file_galleries
- list_trackers
- live_support
- read_article
- read_blog
- read_comments
- search
- tracker_view_comments
- tracker_view_ratings
- view
- view_calendar
- view_categories
- view_categorized
- view_directory
- view_events
- view_faqs
- view_fgal_explorer
- view_fgal_path
- view_file_gallery
- view_freetags
- view_poll_results
- view_sheet
- view_shoutbox
- view_tiki_calendar
- view_trackers
- view_trackers_closed
- view_trackers_pending
- wiki_view_attachments
- wiki_view_comments
- wiki_view_history
- wiki_view_source
description: Already exists
Registered:
description: Will be ignored because group is already created
allow:
- add_events
- attach_trackers
- blog_post
- comment
- comment_tracker_items
- create_blogs
- create_bookmarks
- create_tracker_items
- edit
- edit_categorized
- edit_sheet
- forums_report
- forum_attach
- forum_edit_own_posts
- forum_post
- forum_post_topic
- forum_vote
- freetags_tag
- messages
- notepad
- plugin_preview
- post_comments
- post_shoutbox
- submit_article
- submit_link
- suggest_faq
- take_quiz
- take_survey
- tasks
- tracker_vote_ratings
- upload_files
- upload_picture
- userfiles
- usermenu
- vote_comments
- vote_poll
- watch_trackers
Editors:
description: Can approve & delete
allow:
- admin_banners
- admin_banning
- admin_calendar
- admin_categories
- admin_cms
- admin_comments
- admin_directory
- admin_dynamic
- admin_faqs
- admin_file_galleries
- admin_forum
- admin_freetags
- admin_newsletters
- admin_notifications
- admin_polls
- admin_quizzes
- admin_rssmodules
- admin_sheet
- admin_shoutbox
- admin_surveys
- admin_wiki
- blog_admin
- broadcast
- broadcast_all
- clean_cache
- detach_translation
- edit_cookies
- edit_dynvar
- edit_languages
- edit_menu
- edit_menu_option
- export_tracker
- live_support_admin
- lock
- minor
- modify_tracker_items
- plugin_approve
- trust_input
- use_HTML
- wiki_admin_attachments
include: Registered
SubAdmins:
include: Editors
allow:
- adminusers
Admins:
include: SubAdmins
allow:
- admin
You may manually add a lateral Wiki menu for your site through this other related and optional profile: