[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Koha-devel] HTML-Template-Expr
From: |
Henri-Damien LAURENT |
Subject: |
Re: [Koha-devel] HTML-Template-Expr |
Date: |
Mon, 07 Apr 2008 14:33:43 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
Owen Leonard a écrit :
>> I was wondering if anyone has used HTML:Template-Expr with Koha?
>>
>
> Koha 3 uses HTML::Template::Pro, which includes the features of
> HTML::Template::Expr. As a template designer I'm very happy to have
> that functionality available to me. It really helps avoid some really
> convoluted logic at times.
>
You're right owen.
HTML::Template::Expr is not really bug proof though.
For instance, with HTML::Template::Expr, you have to define all the vars
you test in template so that tests can pass.
And thus, even though it is in a TMPL_ELSE which is not parsed because
condition is right.
But maybe it is because of bad habbits.
Hope that helps.
--
Henri-Damien LAURENT