Hello, I was wondering if anyone has used HTML:Template-Expr with Koha? Would there be any problems using this extension? It would be nice to be able to work with values in the HTML-Template without having to go into the perl coding. I haven't worked with Koha 3.0 yet (although I am currently having it installed). Perhaps 3.0 is completely new and doesn't need these functions? Thanks, Jim James Weinheimer j.weinheimer@aur.edu Director of Library and Information Services The American University of Rome via Pietro Roselli, 4 00153 Rome, Italy voice- 011 39 06 58330919 ext. 327 fax-011 39 06 58330992 _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
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. -- Owen -- Web Developer Athens County Public Libraries http://www.myacpl.org _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
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 _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel
participants (3)
-
Henri-Damien LAURENT -
James Weinheimer -
Owen Leonard