Loading...
 
Development

Development


Re: Re: Re: customization

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

There are no comments at this time.