[Koha-bugs] [Bug 30289] Use Template::Toolkit WRAPPER to reduce template boilerplate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 07:01:38 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30289
--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 131649
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131649&action=edit
Koha Wrapper Template Toolkit File
This is a first draft of a wrapper that can be used to provide the boiler plate
for an OPAC page.
Using the WRAPPER directive
(http://www.template-toolkit.org/docs/manual/Directives.html#section_WRAPPER),
we can reference it from opac-blah.tt using the following:
[% WRAPPER koha_wrapper.inc
bodyid="opac-blah"
columns="two_leftside"
%]
This is my page content
[% END %]
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list