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

--- Comment #7 from Marcel de Rooy <[email protected]> ---
(In reply to David Cook from comment #6)
> (In reply to Marcel de Rooy from comment #5)
> > Yes we need some adjustment in the plugin install.
> 
> I don't know that it will work, since there's lots of different ways to
> deploy the plugins.
> 
> For instance, I actually separate my plugins into
> /var/lib/koha/<instance>/<plugin_name> and add them as separate pluginsdir
> entries, as I find this makes it much easier to manage them. Some people
> point to places like /opt/all_my_koha_plugins and stuff like that.
> 
> For the Javascript, you could use the "static_routes" plugin hook.

Ok, didnt think about the static_routes here. But it might still be easier and
faster to serve directly from this plugins/js folder.
When installing copy js files to that folder, and when uninstalling remove the
same files again there. For common js libraries, we could define a dedicated
plugin that only serves to install those common js files?

Or even call it plugins/static and copy whatever you have in
[your_plugin]/static to the common folder?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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