[Koha-bugs] [Bug 28080] Add system preference that allows users to insert HTML in the <head> on all OPAC pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 9 11:08:40 CEST 2021


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl
             Status|Signed Off                  |In Discussion

--- Comment #4 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Lucas Gass from comment #0)
> It would be nice if there was a system preference to allow librarinans to
> insert HTML into the document <head>. Currently there is no way to add
> custom scripts or meta content, links to Google fonts, etc. 
> 
> Many already insert this in the OPACHeader but since that has moved to the
> News Tool it is less than ideal to do it this way. ( see bug 26942 )

We now have this already:
KohaPlugins.get_plugins_opac_head
And: [% KohaPlugins.get_plugins_opac_js %]
And: [% KohaPlugins.get_plugins_intranet_head %]

So it is a discussion item whether we really should have this too.
We miss an intranet counterpart here, that the plugins offer.
And maybe the location of adding the pref content in doc-head-close is
questionable? Should we add it at the end, if we would decide so?

Could you raise this on koha-devel ?

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


More information about the Koha-bugs mailing list