[Koha-bugs] [Bug 22880] Convert opacheader system preference to news block
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 14 18:36:42 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22880
Lisette Scheer <lisetteslatah at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #92600|0 |1
is obsolete| |
--- Comment #33 from Lisette Scheer <lisetteslatah at gmail.com> ---
Created attachment 98985
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=98985&action=edit
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 at catalyst.net.nz>
Signed-off-by: Hayley Mapley <hayleymapley at catalyst.net.nz>
Signed-off-by: Lisette Scheer <lisettes at latahlibrary.org>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list