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

--- Comment #6 from David Cook <dc...@prosentient.com.au> ---
(In reply to Mark Hofstetter from comment #4)
> OK I really like the idea to expose the data via an API route
> 
> so would you change the opac-detail.tt file, or add the whole tab via the js?

I would just add the whole tab via the JS. That way, you don't have to modify
Koha at all, and all of your functionality is self-contained in the Koha
Plugin.

(I did send an email out yesterday that suggested the Koha Community modify
opac-detail.pl (or an underlying library function) to allow Koha Plugins to
modify the $template variable.)

(Alternatively, it would be interesting to modify opac-detail.pl and
opac-detail.tt to build the tabs using Javascript instead of Perl-generated
HTML. But that's a separate development all together.)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to