https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27948 --- Comment #14 from Agustín Moyano <agustinmoyano@theke.io> --- (In reply to Marcel de Rooy from comment #10)
Why not use a construction like:
[% PROCESS koha_news_block news => KohaNews.get({ location => 'ArticleRequestsDisclaimerText', lang => lang, library => branchcode, blocktitle => 0 }) %]
This is used in other places too to insert text block from news.
Basically that construction does not allow for you to have a default language. If you add a disclaimer in english, but you do not have it in other languages, users with english lang will see the disclaimer text, but other users will not. With the construction I coded, it first checks for a disclaimer text in the language of the template, and if not found, uses english as default. -- You are receiving this mail because: You are watching all bug changes.