How do I change the path prefix where Koha looks for HTML / TMPL? We're implementing Koha at Simon Fraser University for three small student operated libraries (about 4k holdings each). We host Koha at http://some.host/koha/opac-html/opac-tmpl/... (not live yet) but the Koha CGIs appear hard-coded to look for HTML / TMPL at http://some.host/opac-tmpl/... I dug around in the code a bit, searching for how to change the path prefix to match our setup, but no luck so far. Can anyone on this list help? Incidentally, we're also very interested in the Debian packaging efforts. Are current versions of the debs available online anywhere? What are the current obstacles to getting these packages in the official repositories? Thanks! Jack
On 5/07/2007, at 3:44 AM, Jack Bates wrote:
How do I change the path prefix where Koha looks for HTML / TMPL?
We're implementing Koha at Simon Fraser University for three small student operated libraries (about 4k holdings each). We host Koha at http://some.host/koha/opac-html/opac-tmpl/... (not live yet) but the Koha CGIs appear hard-coded to look for HTML / TMPL at http://some.host/opac-tmpl/...
I dug around in the code a bit, searching for how to change the path prefix to match our setup, but no luck so far. Can anyone on this list help?
Hi Jack You shouldn't need to change any code, what you need to change is in your koha.conf file There are a couple of lines that look like this intrahtdocs=/nzkoha/intranet/htdocs/intranet-tmpl opachtdocs=/nzkoha/opac/htdocs/opac-tmpl Changing those will tell the scripts where to find the templates. Chris -- Chris Cormack chris.cormack@liblime.com VP Research and Development www.liblime.com LibLime +64 21 542 131
Jack Bates <ms419@freezone.co.uk> asked:
How do I change the path prefix where Koha looks for HTML / TMPL?
Koha has used two VirtualHosts for as long as I've been here, so I'm not sure that's supported yet. It needs a hunt-and-kill on the hard-coded locations. It would be a good thing to do if you have time.
Are current versions of the debs available online anywhere?
I'm building packages for etch at http://serene.ttllp.co.uk/~mjr/ and I'll make a proper repository Real Soon Now.
What are the current obstacles to getting these packages in the official repositories?
Making them follow the various debian policies http://www.debian.org/devel/ The challenge for the main koha package is building a koha installer which can actually be driven cleanly from debian/rules and post-inst. There also seems to be some gaps in policy for perl CGIs with modules, which I'm discussing at http://lists.debian.org/debian-perl/2007/07/msg00002.html Please get involved if you can help! Hope that explains, -- MJ Ray - see/vidu http://mjr.towers.org.uk/email.html Experienced webmaster-developers for hire http://www.ttllp.co.uk/ Also: statistician, sysadmin, online shop builder, workers co-op. Writing on koha, debian, sat TV, Kewstoke http://mjr.towers.org.uk/
Jack Bates <ms419@freezone.co.uk> asked:
How do I change the path prefix where Koha looks for HTML / TMPL?
Koha has used two VirtualHosts for as long as I've been here, so I'm not sure that's supported yet. It needs a hunt-and-kill on the hard-coded locations. It would be a good thing to do if you have time. Not only would it be a good thing, you'd be rewarded with thanks and
----- "MJ Ray" <mjr@phonecoop.coop> wrote: praise :-) Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE President, Technology migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
participants (4)
-
Chris Cormack -
Jack Bates -
Joshua M. Ferraro -
MJ Ray