Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Owen Leonard 65a5d1298c
Bug 22880: Convert opacheader system preference to news block
This patch builds on Bug 22318 to move the opacheader system preference
into the Koha news system, making it possible to have language- and
library-specific content.

It extends the original patch by adding an option to the template plugin
specifying whether the content title should be shown (probably should be
a flag in opac_news). It also adds a wrapper div with the content
location as the ID (e.g. 'opacheader'). This will make it slightly more
backwards-compatible with CSS customizations.

To test you should have some content in the opacheader system
preference. Apply the patch and run the database update process.

 - Go to the OPAC and confirm that the content which was previously in
   the opacheader system preference now displays correctly where it was
   before.
 - In the staff client, go to Tools -> News and verify that the content
   from opacheader is now stored in a news item with the location
   'opacheader_en.'
 - Go to Administration -> System preferences and confirm that the
   opacheader preference has been removed.

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
Signed-off-by: Lisette Scheer <lisettes@latahlibrary.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-24 13:24:12 +00:00
..
accounting.pref Bug 24646: Move RoundFinesAtPayment to 'Fines policy' section 2020-02-24 09:54:03 +00:00
acquisitions.pref Revert "Bug 22867: (QA follow-up) Build items.json for UniqueItemFields" 2019-06-06 17:28:35 +01:00
admin.pref Bug 24682: Make UsageStatsGeolocation readonly (and redirect to the config page) 2020-02-24 13:17:15 +00:00
authorities.pref
cataloguing.pref Bug 17697: Improve NotesBlacklist system preference description 2020-01-30 10:52:57 +00:00
circulation.pref Bug 24646: Move RoundFinesAtPayment to 'Fines policy' section 2020-02-24 09:54:03 +00:00
enhanced_content.pref Bug 18688: Warnings about UTF-8 charset when creating a new language 2019-12-23 12:02:15 +00:00
i18n_l10n.pref
local_use.pref
logs.pref Bug 24103: Add option to dump search query to templates 2020-02-19 15:58:41 +00:00
opac.pref Bug 22880: Convert opacheader system preference to news block 2020-02-24 13:24:12 +00:00
patrons.pref Bug 24184: Reword FallbackToSMSIfNoEmail syspref text 2019-12-13 15:31:07 +00:00
searching.pref Bug 20334: Improve syspref description and set more sensible defaults 2019-10-08 14:10:05 +01:00
serials.pref Bug 23416: Add PreserveSerialNotes system preference 2019-08-12 14:35:18 +01:00
staff_client.pref Bug 23315: (follow-up) Add configuration to enable CodeMirror 2019-07-19 09:33:37 +01:00
tools.pref Bug 22996: Add new preference BarcodeSeparators 2019-09-10 09:34:23 +01:00
web_services.pref Bug 22677: Include hint to OAI page path on OAI-PMH preference 2019-11-06 17:16:24 +00:00