[Koha-devel] Using template toolkit in notices

Barton Chittenden barton at bywatersolutions.com
Sat Apr 14 00:40:50 CEST 2018


I'm trying to use template toolkit for notices, as illustrated on
https://wiki.koha-community.org/wiki/Notices_and_Slips_Library#Notices_and_slips_using_template_toolkit

This uses the syntax

[% USE Branches %]

or

[%- USE date -%]

to import ... something.

The wiki page says 'See Koha/Template/Plugin/Branches.pm, as well as other
modules in Koha/Template/Plugin/'

... the modules in Koha/Template/Plugin/ are fairly limited... and 'date'
Isn't one of them (in fact it's calling methods from Date::Manip, which
isn't even part of Koha).

I'm trying to wrap my brain around which modules are available, and how
they're called.

Any pointers would be welcome.

Thanks,

--Barton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180413/00a7db9d/attachment.html>


More information about the Koha-devel mailing list