[Koha] Template Toolkit Syntax for Slips & Notices
Bob Birchall
bob at calyx.net.au
Wed Jan 4 00:40:51 NZDT 2017
Its good to see the commitment to keeping the existing syntax as an
alternative to the new syntax - thank you!. There are a massive number
of existing notice templates in Koha libraries and libraries could face
a significant cost to switch to the new syntax. So as long as the path
involves introducing the new but retaining the old as an alternative,
we're in favour.
Thanks for the initiative.
Bob Birchall
Calyx
On 02/01/17 22:01, Jonathan Druart wrote:
> Silence will be considered as an agreement.
> If you have any questions, please do not hesitate to ask.
>
> Regards,
> Jonathan
>
> On Tue, 6 Dec 2016 at 16:03 Kyle Hall <kyle.m.hall at gmail.com> wrote:
>
>> Hey All!
>>
>> As you may know, Koha 16.11 supports the use of Template Toolkit markup in
>> Koha's slips and notices. This provides huge benefits over our current
>> bespoke syntax, such as
>> A) Consistency, we have odd tags like <<itemscontent>>
>> B) Flow control, for example, we can hide labels for fields that are empty
>> C) Flexible, for example, maybe you want to mask part of a patrons name on
>> a print slip, with TT it's easy!
>>
>> Jonathan and I would really like to get moving on making Template Toolkit
>> the defacto way to deal with slips and notices in Koha. This is not a
>> trivial undertaking, and we'd like to get it done in time for the 17.05
>> release.
>>
>> To do this we will:
>> A) Port all slips and notices to TT syntax
>> B) Enable TT syntax in the slips and notices editor
>> C) Document the new TT syntax of slips and notices
>>
>> These tasks will be accomplished on bugs 15278, 15277, and 15276
>> respectively.
>>
>> I would like to stress that the existing Slips and Notices syntax will
>> continue to work in 17.05, and you will *not* need to update your existing
>> templates during the 17.05 upgrade process.
>>
>> We are looking for community input on this project before we proceed. Let
>> us know what you think!
>>
>> Kyle
>>
>> http://www.kylehall.info
>> ByWater Solutions ( http://bywatersolutions.com )
>> Meadville Public Library ( http://www.meadvillelibrary.org )
>> Crawford County Federated Library System ( http://www.ccfls.org )
>> _______________________________________________
>> Koha mailing list http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha
>>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
More information about the Koha
mailing list