[Koha] Koha Interface

Rachel Hamilton-Williams rachel at katipo.co.nz
Mon May 4 20:33:23 NZST 2009



Melanie Saldua wrote:
> You are right! It's so hard to change the entire interface of koha. I 
> can't even get my logo up. I can't seem to find all the css files for 
> the files. And there's so many inc files I can't track them. I really 
> have to study them. I do hope someone have solve this problem of mine. 
> It would really be great to change the overall look of koha. :)
It is fiddly, there are a lot of files, and you have to be really 
careful doing it.

You will be changing include files (.inc), template files (.tmpl) css 
files (.css) and images as well and maybe javascript too. You hopefully 
won't have to change any perl (.pl) files. To understand how they all go 
together, you'll probably need to look at the parsed "page", and then 
work out from the tmpl for that "page" which includes and bits of the 
tmpl to change.

If you can't "read" the .tmpl files (ie understand what they are doing, 
what bits of the database they are calling etc) you are going to have a 
steep learning curve in order not to break things. Start by commenting 
things out before you delete them.

Start with the CSS, then the includes should be more "look and feel", 
and the tmpl will be where things are on the page, organisation of the 
fields etc.

Then you can write up your experiences for others to learn from as well :-)

Cheers
Rachel

>
> On Mon, May 4, 2009 at 2:56 PM, Chris Cormack 
> <chris at bigballofwax.co.nz <mailto:chris at bigballofwax.co.nz>> wrote:
>
>     2009/5/4 Melanie Saldua <reilied00 at gmail.com
>     <mailto:reilied00 at gmail.com>>:
>     > Hi Chris!
>     >
>     > I really need to change the files since the "higher ups" wanted
>     a complete
>     > change of the koha interface. I did try some of the things in
>     the blog that
>     > you mention. I still need a complete change though...
>
>     Well as long as you are aware you are building a rod for your own back
>     :) What I would do is create a branch in your local git checkout, and
>     change the files there, and then try to keep them up to date.
>
>     There is probably very very little you can't change with jquery that
>     you can change by editing the templates but if that is not an option
>     the you will need to edit the files in koha-tmpl/opac-tmpl.
>     Again I must warn you that unless you are committed to keeping them up
>     to date you will make it very hard to upgrade.
>
>     Chris "the warning you about templates police" Cormack
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>   

-- 
-----------------------------
Rachel Hamilton-Williams
General Manager
Katipo Communications Ltd

Phone:  +64-4-934 1285
Mobile: 021 389 128
E-mail: rachel at katipo.co.nz
Web:    www.katipo.co.nz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20090504/ca63ccfd/attachment.htm 


More information about the Koha mailing list