[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
Mon Jul 12 10:53:02 CEST 2021


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

--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Kyle M Hall from comment #5)
> > 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 ?
> 
> I think you are misunderstanding the purpose of this patch. Clearly, we
> should not have to build a plugin just to import a google font into Koha for
> some CSS style. That appears to be the purpose of this ehancement; to allow
> importing js and css into the correct part of Koha's html, the head block.
> 
> Does that make sense?

Surely, this explanation is helpful :)
In this case I would ask: Couldnt you do the same with OPACUserCSS and @import
url() or @font-face and src: url()?

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


More information about the Koha-bugs mailing list