[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-devel] Re: How to change HTML / TMPL path prefix?
From: |
Jack Bates |
Subject: |
[Koha-devel] Re: How to change HTML / TMPL path prefix? |
Date: |
Tue, 17 Jul 2007 23:09:30 -0700 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
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 <address@hidden> 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/
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-devel] Re: How to change HTML / TMPL path prefix?,
Jack Bates <=