<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 11771 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 196, Issue 10<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Template::Toolkit WRAPPER to reduce template boilerplate<br>      (dcook@prosentient.com.au)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 14 Mar 2022 17:06:16 +1100<br>From: <dcook@prosentient.com.au><br>To: "'Koha Devel'" <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] Template::Toolkit WRAPPER to reduce template<br>    boilerplate<br>Message-ID: <021401d83769$9e6d0bf0$db4723d0$@prosentient.com.au><br>Content-Type: text/plain; charset="utf-8"<br><br>Hi all,<br><br> <br><br>I've opened up an issue to use Template::Toolkit's WRAPPER directive to<br>reduce template boilerplate:<br>https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30289<br><br> <br><br>I've been using it for 7 years on a non-Koha project and it's very handy. <br><br> <br><br>And I whipped out a draft wrapper today and attached it to Bugzilla, because<br>I was working on some custom OPAC pages and I was just getting tired of<br>trying to figure out what a generic Koha page should look like in terms of<br>HTML, CSS, JS, includes, etc. <br><br> <br><br>By using 1 wrapper, I can just do it once, and not worry about it. I can<br>just focus on the actual content for all my particular page-specific<br>templates.<br><br> <br><br>Anyway, have a look and let me know what you think. For a first step, we<br>wouldn't even have to replace every OPAC page. We could just start with<br>opac-main.tt and then refactor as we go along.<br><br> <br><br>David Cook<br><br>Senior Software Engineer<br><br>Prosentient Systems<br><br>Suite 7.03<br><br>6a Glen St<br><br>Milsons Point NSW 2061<br><br>Australia<br><br> <br><br>Office: 02 9212 0899<br><br>Online: 02 8005 0595<br><br> <br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220314/fcd81269/attachment-0001.htm><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 196, Issue 10<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>