[Show/Hide Left Column]
[Show/Hide Right Column]

Wikipedia look and feel Theme Demo
Print

Tikipedia

This theme isn't updated to Tiki 5 yet so the demo here is buggy. Thanks for your patience.


Tikipedia is based on Mediawiki's Monobook style, also used at Wikipedia.org. The Tikipedia theme for Tiki CMS was done to illustrate the flexibility of Tiki's design capabilities, and just because the Monobook style is very cool.
idea For general Tiki theme information, see Tiki Transforming.

New information for Tiki 3!

Be sure to remove all old template files

Older Tikipedia template files (in templates/styles/tikipedia) are incompatible with Tiki 3 and must be removed, for the theme to work correctly.

Uses normal Tiki modules

For Tiki 3, the Tikipedia theme uses regular user-created modules for the logo and for the "toolbox" that contains wiki-related icons for print, watch, and so on. So when this theme is installed, these modules need to be made on the Admin Modules page (tiki-admin_modules.php).

  • At the top of the left column will be the logo module . . .
Name: site_logo_and_titles (or whatever you like, doesn't actually matter)

Title: Site logo and titles (doesn't display, so rename as you wish)

Data (this goes in the data text area at the bottom of the Admin Modules page, User Modules tab):

(Please check here (cache) or in the tikipedia_tiki_3 package to see (and copy/paste) the module data. It wouldn't display accurate in this wiki page.)

After saving the new module, assign it to the top of the left column, with these settings:

Parameters:
decorations=n&flip=n&title=n&nobox=y&theme=tikipedia.css

Groups:
Anonymous, Registered

(In a coming version of Tiki, the standard logo module will have this code, so at that time the logo module can be used in place of this user-made module.)

  • Next in the left column will be the toolbox module
Name: toolbox (this does display, so "toolbox" is used to be consistent with the Mediawiki original)

Name: tikipedia_toolbox (or whatever makes you like; doesn't really matter)
Title : Toolbox (capitalized to be consistent with other modules, but tikipedia.css transforms to lowercase)

Data (this goes in the data text area at the bottom of the Admin Modules page, User Modules tab):

(Please check here (cache) or in the tikipedia_tiki_3 package to see (and copy/paste) the module data. It wouldn't display accurate in this wiki page.)

After saving the new module, assign it to position 2 in the left column, with these settings:

Parameters:
theme=tikipedia.css&section=wiki

Groups:
Anonymous, Registered

Since the toolbox is a normal user module, it can be assigned in any position, such as in the right column.

For Tiki 3, there are no special wiki plugins, as these have become difficult to maintain from one version to the next, and they can mostly be replaced with standard Tiki wiki plugins and other techniques. There may be errors if the previous Tikipedia wiki plugins are used with Tiki 3, so they should probably be removed from the lib/wiki-plugins directory.


The following information is for older Tiki versions, and is likely to not be correct for Tiki 3.

Unique wiki page features

{DIVFLOATING(align=>left, background=>#f9f9f9, border=>1px solid #aaa, width=>340px, float=>left, padding=>4px, margin=>8px, clear=>none)}{DIVFLOATING(align=>right, background=>#f9f9f9, border=>1px solid #aaa, width=>240px, float=>right, padding=>4px, margin=>8px, clear=>none)} Image{DIVFLOATING}The original MediaWiki site, with great visual design and functionality. (This box is an example of another original plugin used twice here, nested. DIVFLOATING has different parameters than the default DIV plugin: align, background, border, width, float, padding, margin, and clear). The text size is set with the TAG plugin.{DIVFLOATING}Monobook, the Mediawiki default theme, and the Mediawiki page layout in general have some interesting characteristics. For one thing, the page content area itself is pretty bare, with function links and so on moved to peripheral areas.

To replicate this in the Tikipedia theme, some of Tiki's wiki page controls have been moved to tabs above the content area and some to a Mediawiki-style toolbox, styled like a module, in the left-side column. This "module" (not a real Tiki module, but a template styled to look like one) is called only on wiki pages. This is where the links for 3-D browser, print, save, monitor, backlinks, language, and so on are located. Also, the page author information is moved from the wiki page area itself to a modified bottom bar that is loaded only on wiki pages.
{BR()}{BR}

Other changes from the Tiki default

Rather than having the usual side-column log-in module, this theme places a link to the log-in screen at the top right of the page, in keeping with the MediaWiki layout. In order not to interfere with the normal log-in module display when other themes are chosen, Tikipedia uses CSS to prevent the log-in box from displaying in the side column.

Page-top tabs are also used on image gallery, file gallery, directory, and tracker pages. In some cases, the templates needed a small edit to move the page-bar above the pagetitle, but most of the details were taken care of in the CSS file.

Bundled plugins

This theme includes several plugins to emulate the look and functionality of the Monobook theme at Mediawiki sites, but that can be used with other themes. These include: {THUMBDIV(align=>right, width=>90px, imgid=>2, title=>earth, alt=>earth, thumbwidth=>80, thumbheight=>60)}This is an example of the THUMBDIV plugin.{THUMBDIV}

  • The MAKETOCBOX plugin, used above, is a styled {maketoc} tag that has a "Contents" title, can be floated left or right, and displays/hides the links similar to the Wikipedia function. UPDATE: The default maketoc now has essentially the same functionality as this plugin, so the plugin has been removed from the Tikipedia theme files. Use a DIV floated right and containing a box and the maketoc tag to get the same result as MAKETOCBOX. See doc.tikiwiki.org for more information.
  • The THUMBDIV image thumbnail plugin also shown on this page. This div can contain any wikitext with links or whatever, and displays a thumbnail of an image in a Tiki gallery, which links to the page of the full-size image. For Tiki 2, this hasn't been tested yet, but should work.
  • The TWOCOLORTITLEBOX used at the top of this page for the "Welcome to Tikipedia!" message was specifically made for the Mediawiki emulation but may have some other uses. The plugin is currently hardcoded to produce the font size; the title is divided into two spans, each of which can be given a color as a parameter.

Structural details

See Tikipedia_development for some notes on the process.

Customizing

Please see Customizing_Tikipedia for information on customizing/personalizing this theme.

Download exclaim

For 1.9 and older versions of Tiki, Tikipedia_v1.0.zip is available for downloading at the Tikipedia theme file gallery. Please report any problems or make suggestions in the forum.


Theme: Tikipedia

Shoutbox

chibaguy, 01:00 GMT, Thu 02 of Sep., 2010: By the way, object-level theme control isn't working with regard to tpl files, so use user pref or switch-theme module for best view of themes (esp. those with custom tpl files).
chibaguy, 00:55 GMT, Thu 02 of Sep., 2010: Sorry, orionrobots, I didn't update Planetfall for Tiki 5 yet, and this site still has the T4 version. Still, I think there isn't much to update. Did you try Planetfall at this site using the switch-theme module?
orionrobots, 18:49 GMT, Wed 01 of Sep., 2010: Hmm - looks like planetfall is not quite right on Themes.tw.o - I am having a hard time with it on a TW5 upgrade on the Orionrobots test site too.
chibaguy, 01:13 GMT, Thu 05 of Aug., 2010: tochinet, sounds like the wrong (or too many) template files are being used. Can you post in the forum and give more details? (Also Tikipedia hasn't been updated for a while, so indicate what Tiki version, etc.)
tochinet, 06:55 GMT, Wed 04 of Aug., 2010: Can someone look at the Tikipedia theme ? On my Firefox, the logo appears twice, there are two lines of links a bit hidden the logo, etc. Maybe it is something simple, I don't know.

Show php error messages
 
PHP (5.2.10-2ubuntu6.4) ERROR (E_USER_WARNING):
File: lib/smarty/libs/Smarty.class.php
Line: 1093
Type: Smarty error: unable to read resource: "toolbox_content.tpl"
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/tikilib.php
Line: 4894
Type: Undefined offset: 2
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 185
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/core/lib/Perms.php
Line: 229
Type: Undefined index: forumId
PHP (5.2.10-2ubuntu6.4) NOTICE (E_NOTICE):
File: lib/blogs/bloglib.php
Line: 227
Type: Undefined variable: blog_data