Loading...
 
Skip to main content

Development


customization

posts: 61

i'm squizing tikiwiki into an existing site. which works quite wel.
i only changed the top and bot bar via the admin menu and chenged the style sheet.
if i want to see a different tiki look here:
http://versie2a.molenwiek.nl
(login is still available via admin.molenwiek.nl (but not for strangers, sory))

there are just a few minor points

1) on the artikle page there is an hr line which i can only remove if i remove all hr in my style sheet because its not in a div and has no name.

2) the print icon too can not be removed with the css (i overwrite the print icon with a 1x1 white icon.

allll the rest is perfect 😎

posts: 2881 United Kingdom

The customisation for 1 and 2 points can be done a lot easier through modifing the .tpl files in templates/ instead of just hacking through the CSS 😊

Good style hacking tho 😀

Damian

posts: 61

> The customisation for 1 and 2 points can be done a lot easier through modifing the .tpl files in templates/ instead of just hacking through the CSS 😊
>
> Good style hacking tho 😀
>
> Damian
>

thanks

i know i could change the tpl files. but now i can easaly upgrade to a newer version and only need to keep track of one file (the css) instead of updating all my changed files all over the place.

posts: 2881 United Kingdom


> i know i could change the tpl files. but now i can easaly upgrade to a newer version and only need to keep track of one file (the css) instead of updating all my changed files all over the place.
>

Copy your style to say mystyle.css in /styles/

then in /templates/styles/ create a mystyle directory

now copy any template you want to modify into templates/styles/mystyle and change it there, this directory will override the master templates/

when it comes to upgrade the site, your own theme .css and .tpls' will never get touched.

This is how I acheive http://www.damosoft.co.uk which is always running on the latest BRANCH-1-9 cvs code. Regardless of what people change, my site always looks the same due to this template overriding.


Damian
http://free.tiki.at.tikihost.net

posts: 61

cool COOL i'm going to do this.

thanks....


posts: 61


the template overriding works perfect.

i only have some trubble finding the right template. for instance which one is used for wiki pages?

thanks

tibi