[Koha-devel] Using Template::Toolkit WRAPPER templates with Koha Plugins

dcook at prosentient.com.au dcook at prosentient.com.au
Thu Aug 11 09:01:14 CEST 2022


Hi all,

 

I'm creating a Koha plugin and I'm going to need several different template
pages. Rather than copying and pasting boilerplate into each file, I just
created 1 wrapper file and then I include that in each of my individual
template pages.

 

For the templates and code, you can take a look at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31339

 

I think it would be useful to have some wrapper templates in the Koha core
code for plugins, but even if folk have to bundle their own wrappers in
their own plugins, I think it's a good practice. 

 

David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia

 

Office: 02 9212 0899

Online: 02 8005 0595

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220811/46aceb31/attachment.htm>


More information about the Koha-devel mailing list