Hi all, Working with Koha 3.00.06.09 from git (origin/3.0.x), I think that there is a syntax error on the html template opac-detail.tmpl. For this template, matching the if´s and endif´s etc. by hand is quite laborious. Can anyone of you point me to a better way of checking such templates? Thanks! Marcel
Hi, 2010/5/12 Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>:
Working with Koha 3.00.06.09 from git (origin/3.0.x), I think that there is a syntax error on the html template opac-detail.tmpl.
For this template, matching the if´s and endif´s etc. by hand is quite laborious.
Can anyone of you point me to a better way of checking such templates?
I'm not sure if it is in 3.0.x, but there is a test case in master, xt/author/valid-templates.t, that you could copy over and use to catch most (although not all) errors of this sort. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
Great! I found it in 30x. -----Oorspronkelijk bericht----- Van: Galen Charlton [mailto:gmcharlt@gmail.com] Verzonden: woensdag 12 mei 2010 14:04 Aan: Marcel de Rooy CC: koha-devel@lists.koha.org Onderwerp: Re: [Koha-devel] HTML::Template Hi, 2010/5/12 Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>:
Working with Koha 3.00.06.09 from git (origin/3.0.x), I think that there is a syntax error on the html template opac-detail.tmpl.
For this template, matching the if´s and endif´s etc. by hand is quite laborious.
Can anyone of you point me to a better way of checking such templates?
I'm not sure if it is in 3.0.x, but there is a test case in master, xt/author/valid-templates.t, that you could copy over and use to catch most (although not all) errors of this sort. Regards, Galen -- Galen Charlton gmcharlt@gmail.com
participants (2)
-
Galen Charlton -
Marcel de Rooy