[Koha-bugs] [Bug 27334] Add Template Toolkit support to news items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 12:59:01 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27334

PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #115309|0                           |1
        is obsolete|                            |

--- Comment #4 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 115310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115310&action=edit
Bug 27334: Add Template Toolkit support to news items

It would be useful if news items could take advantage of template toolkit
syntax.

Test Plan:
1) Apply this patch
2) Edit a news item
3) Add some TT to the content like "[% IF 1 %]It works![% END %]"
4) View the rendered news item on mainpage.pl
5) Note the TT is rendered correctly!

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list