[Koha-devel] Re: How to change HTML / TMPL path prefix?
Jack Bates
ms419 at freezone.co.uk
Wed Jul 18 08:09:30 CEST 2007
Here is the second version of a patch to support configuring intranet /
opac, cgi / html base URLs:
http://cgi.sfu.ca/~jdbates/tmp/koha/200707170/koha.patch3
I changed the roughly 1135 instances of /cgi-bin/koha in the English
templates to use either the new intracgi or opaccgi variables. It's
almost working for us!
http://sfpirg6.stdntsvcs.sfu.ca/koha/opac-cgi/opac-main.pl
All that remains is to hunt-and-kill the remaining 124 instances in 78
Perl scripts. Hopefully I can get to this by the end of the week. Any
feedback much appreciated!
Thanks, Jack
> Maybe we should move this discussion to koha-devel?
> http://lists.nongnu.org/mailman/listinfo/koha-devel
>
> Jack Bates <ms419 at ...> wrote:
> > [...] Also, before I go
> > editing template files for various translations, I assume each
> > translation is built from one source file?
>
> I think they're built from the English template and a po file with the
> tools in misc/translator.
>
> > I browsed the developer wiki a bit, but haven't yet found instructions
> > to build a Koha distribution archive from the source repository
> > (presumably this involves compiling localized versions of templates).
>
> In 2.2, it's misc/buildrelease and I don't think it localises templates.
>
> In HEAD, that is in rather a state of flux just now. It may end up
> as "perl Makefile.PL && make dist" but that's not brilliant yet.
>
> > Please find attached the small patch I created so far and my SSH key.
> > Can I please have access to clone the 2.2 git repository?
>
> As I understand it, you don't need ssh access to clone it: see
> http://lists.nongnu.org/archive/html/koha-devel/2007-06/msg00008.html
> for instructions. 2.2 is the branch origin/rel_2_2
>
> Hope that helps,
> --
> 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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 242 bytes
Desc: Digital signature
URL: </pipermail/koha-devel/attachments/20070717/edd40ce1/attachment-0002.pgp>
More information about the Koha-devel
mailing list