Loading...
 
 Error
  • The search index could not be updated. The site is misconfigured. Contact an administrator.
    SQLSTATE[42000]: Syntax error or access violation: 1064 unknown table 'themes_tiki_org_main_66064ea204b85' in delete request
New Themes

New Themes


Tikipedia - having a right panel

posts: 1

Hi,
I never used TikiWiki before, I've used MediaWiki.
You've done a great job creating the Tikipedia theme, I love it!!! razz TikiWiki is great too, I wish I had found it a long time ago.

Can somebody help me with some instructions for modifying Tikipidia theme? What do I need to modify in Tikipedia theme to actually have a right panel where I can display modules and menus?

Thanks!
Adrian

posts: 254 Japan

The file templates/styles/tikipedia/tiki.tpl needs to modified. To make the Tikipedia theme, a standard tiki.tpl file was changed to delete the right-hand column and display the right-column modules under the left-column modules. To create the right column again, basically the changes need to be undone.

If you want to look at that file and a default templates/tiki.tpl file and modify the Tikipedia file to have three columns, you can have a go at it. These files are Smarty templates and so there is a mix of html tags for layout and Smarty syntax for logic, etc.

If you don't feel like undertaking that adventure, I will try to do such a version (I was going to try to describe the changes but it would probably be easier to just do them wink), but I don't have much time right now so don't know how soon I can do it. Also, I'm planning to update the theme to a no-tables version and also incorporate Tiki 1.10 features, before too long, so I hadn't planned on messing with it until then. Probably that version will have the various column display options. I think the 1.10 release is a couple of months away.

-- Gary


posts: 254 Japan

On the train heading home last night I whipped out the laptop and did the changes to make a three-column Tikipedia. I'll put the files in the Tikipedia file gallery. (I actually get quite a bit done while commuting — it's about a 50-minute trip from Tokyo to where I live in Chiba.)

This is a quick and dirty editing job, and works, but I didn't check thoroughly for side-effects. You can give it a try and let me know if there are unwanted things happening.

The tiki.tpl file replaces templates/tikipedia/tiki.tpl, and the tikipedia.css file replaces the styles/tikipedia.css file you're now using. If you (or anyone) wants to do this and has modified tikipedia.css already and you don't want to lose those modifications, I recommend WinMerge if you need a Windows program to compare two files and merge changes; it's open source, free, and works great.

-- Gary


Layout

Subscribe to Tiki Newsletters!

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other big news!
Contribute to Tiki

Site Config