[Koha-bugs] [Bug 15834] Ability to limit AutoEmailNewUser to specific patron categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 25 17:30:48 CEST 2023


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

--- Comment #6 from Christopher Brannon <cbrannon at cdalibrary.org> ---
(In reply to Lari Strand from comment #5)
> It seems the WELCOME notice supports template toolkit.
> https://wiki.koha-community.org/wiki/Notices_with_Template_Toolkit
> 
> List of available variables states branch, borrower.
> 
> One could write an if-else block to check if a borrower's category matches a
> value and place the message inside the block. Empty messages are not sent if
> I'm correct.
> 
> This counts as a workaround too though, I guess.

If Template Toolkit had solid and complete documentation for notices, then yes,
a workaround.  But even if documentation for TT in notices were solid, the
average user doesn't have basic programming skills.  TT isn't doesn't even have
a ready set of insertable elements like the outdated hungry alligator
elements/fields that are still present.  If we are going to rely on TT for
basic needs, then we are a bit short sighted for the average library that
doesn't have someone that knows how to program at that level, and we are
offering no easy way to implement it.

I guess the question is, what things are common enough to put built in
functionality for, and what things are out of the scope of average use and
should be left to TT?

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


More information about the Koha-bugs mailing list