There is a trick which basically boils down to "If the rendered notice is empty, it doesn't get sent". So your WELCOME notice could contain something like: ---- [%- IF patron.categorycode == "STAFF" %] This is where your actual welcome notice is! [%- END %] ---- That way it is empty for non-staff users and shouldn't get sent.
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 ) On Tue, Sep 5, 2023 at 3:14 AM Raymund Delahunty <r.delahu...@arts.ac.uk> wrote: > We are having some successes in using TT code to improve notices. Dealing > with singular / plural issues, different wording of notices for different > patron categories... that sort of thing. What we would like to do is to use > TT to send the WELCOME notice to staff only. Has any TT expert any tips how > we could set up the WELCOME notice (and potentially other ones usually sent > to all, like MEMBERSHIP_EXPIRY) so that emails are only sent to some > patrons, based on IF-type rules? > > Ray Delahunty > University of the Arts London > > > . > This email and any attachments are intended solely for the addressee and > may contain confidential information. If you are not the intended recipient > of this email and/or its attachments you must not take any action based > upon them and you must not copy or show them to anyone. Please send the > email back to us and immediately and permanently delete it and its > attachments. Where this email is unrelated to the business of University of > the Arts London or of any of its group companies the opinions expressed in > it are the opinions of the sender and do not necessarily constitute those > of University of the Arts London (or the relevant group company). Where the > sender's signature indicates that the email is sent on behalf of UAL Short > Courses Limited the following also applies: UAL Short Courses Limited is a > company registered in England and Wales under company number 02361261. > Registered Office: University of the Arts London, 272 High Holborn, London > WC1V 7EY > _______________________________________________ > > Koha mailing list http://koha-community.org > Koha@lists.katipo.co.nz > Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha > _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha