Hi,
First, apologise if this is already possible. I had a look at the include_script function in the API and I don't think it is.
I am wondering what everyone thinks about allowing plugins to include scripts from the core (like list.js) rather than having to copy them into the plugin dir?
The possible problem with this is that if something changes in one of the core JS files then its possible the plugin might need to be updated to work with it. The advantage is that plugin maintainers would have one less file to worry about.
Any one got any thoughts?
Thanks
Phil
List info: http://lists.roundcube.net/dev/
Phil Weir wrote:
Hi,
First, apologise if this is already possible. I had a look at the include_script function in the API and I don't think it is.
Do not use plugin_api's function, use $rcmail->output->include_script().
On Sun, 31 May 2009 14:20:12 +0200, "A.L.E.C" alec@alec.pl wrote:
Phil Weir wrote:
Hi,
First, apologise if this is already possible. I had a look at the include_script function in the API and I don't think it is.
Do not use plugin_api's function, use $rcmail->output->include_script().
Ofcourse, thanks for the help.
Phil _______________________________________________ List info: http://lists.roundcube.net/dev/