[Koha-bugs] [Bug 26890] opac-detail plugin like intranet/cgi-bin/catalogue/detail.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 5 11:55:00 CET 2020


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

--- Comment #3 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to David Cook from comment #2)
> I'm not familiar with the plugin use on
> intranet/cgi-bin/catalogue/detail.pl, but would an alternative be to
> implement the plugin as an API route and then inject some Javascript into
> OpacUserJS to insert the tab?
> 
> I suppose the annoying part of doing that is injecting the Javascript
> though...

No need to inject, there is a plugin hook opac_js :
https://github.com/bywatersolutions/dev-koha-plugin-kitchen-sink/blob/450b145a09c358b0dc3eaa0ee97151643c1bbda6/Koha/Plugin/Com/ByWaterSolutions/KitchenSink.pm#L252

And hook opac_head for CSS

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


More information about the Koha-bugs mailing list