[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] koha 1,4, templating and css
From: |
finlay |
Subject: |
Re: [Koha-devel] koha 1,4, templating and css |
Date: |
Wed Oct 9 16:21:02 2002 |
User-agent: |
Mutt/1.3.28i |
Hi Dorian, Paul, and everyone else,
I think Dorian has it right here. I have to admit to not having tried this,
but I cant see why it wont work.
Dorian wrote:
> So style.css goes to <serverroot>/<theme>/<lang>/styles/
> and you can include it with <link rel="stylesheet" type="text/css"
> href="styles/style.css">
> or with <link rel="stylesheet" type="text/css" href="/<TMPL_VAR
> NAME="themelang">/styles/style.css">
That should work really well. An Paul, the templating mechanism is
completely invivisible to the browser: HTML::Template will get the correct
theme/path setting and put it into the page before it gets sent to the
browser. The stylesheet just has to be in the right place in the filesystem
under the <serverroot> (htdocs directory). The stylesheet line above could
even be in the top include :-)
On the matter of filesystem structure:
> >
> > <serverroot>/<theme>/<lang>/
> > ./images
> > ./includes
> > ./styles
> > ./jscripts
> > ./help
> > ./catalogue
> > ./members
> > ./whatever...
> >
> > This means that each theme is effectively almost a virtual server in
> > terms of file structure (I think I have this right Dorian?). This would
> > require a change in current CVS thinking.
This is exactly right. In terms of the existing cvs tree, there has been one
strange development....
All the templates, includes, images etc should be in the above structure
under either:
koha/koha-tmpl/intranet-tmpl/
or
koha/koha-tmpl/opac-tmpl/
The strange thing is that the koha-tmpl tree is in the koha main branch. It
should probably have been in koha-html :-(
I didnt notice fast enough to change it. Maybe later? As for the old
koha-html cvs tree: it dies. slowly, perhaps painfully. But most of that
stuff will be replaced by the new koha-tmpl stuff. We will know when koha is
properly templated when non of the koha-html files is needed.
Finlay
- Re: [Koha-devel] koha 1,4, templating and css, (continued)
- Re: [Koha-devel] koha 1,4, templating and css, paul POULAIN, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Owen Leonard, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Ambrose Li, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Rachel Hamilton-Williams, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Owen Leonard, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Rachel Hamilton-Williams, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Roger Buck, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css, Dorian Meid, 2002/10/10
- Re: [Koha-devel] koha 1,4, templating and css, paul POULAIN, 2002/10/10
Re: [Koha-devel] koha 1,4, templating and css, Dorian Meid, 2002/10/09
- Re: [Koha-devel] koha 1,4, templating and css,
finlay <=
Message not available