Dear plugin developers
We recently added the plugin named 'jqueryui' by Cor Bosman to the SVN repository and it will be shipped with future releases of Roundcube. In fact there are several plugins which actually use jQuery UI and the intent of this plugin is to load its resources only once and to maintain a streamlined UI which is in sync with the (default) Roundcube themes. In current trunk (and released in v0.6 soon) a plugin can require another plugin using the following line in the init() method:
$this->require_plugin('jqueryui');
This will load the required plugin (if not already done) even if it's not listed in the config.
We kindly request all plugin authors who embedded jquery UI in their plugins (or planned to do so) to rely on this official jquery UI plugin and to load it as mentioned above.
Thanks a lot and keep on developing!
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
Great job on making the theme look more like roundcube. That looks much better. Uploaded a new version of my compose_addressbook plugin to use the new jqueryui.
Cor
List info: http://lists.roundcube.net/dev/ BT/aba52c80
Hi Thomas
Thanks for another great 0.6 release! What happened with the rcube_plugin::require_plugin() method you have announced last May?
The new compose_addressbook plugin from http://underwa.ter.net/roundcube-plugins/, v.5.0b3 still uses this method and gives me the following error:
PHP Fatal error: Call to undefined method compose_addressbook::require_plugin() in plugins/compose_addressbook/compose_addressbook.php on line 16
Anyway, even by commenting out this line of code, the current compose_addressbook plugin is not compatible with RC 0.6. But please tell me what happened with this useful rcube_plugin::require_plugin() method?
Best Regards, Philip
Am 09.05.2011 um 21:12 schrieb Thomas Bruederli:
Dear plugin developers
We recently added the plugin named 'jqueryui' by Cor Bosman to the SVN repository and it will be shipped with future releases of Roundcube. In fact there are several plugins which actually use jQuery UI and the intent of this plugin is to load its resources only once and to maintain a streamlined UI which is in sync with the (default) Roundcube themes. In current trunk (and released in v0.6 soon) a plugin can require another plugin using the following line in the init() method:
$this->require_plugin('jqueryui');
This will load the required plugin (if not already done) even if it's not listed in the config.
We kindly request all plugin authors who embedded jquery UI in their plugins (or planned to do so) to rely on this official jquery UI plugin and to load it as mentioned above.
Thanks a lot and keep on developing!
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/e4a7842d
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On Sep 29, 2011, at 10:52 AM, Philip Iezzi wrote:
Hi Thomas
Thanks for another great 0.6 release! What happened with the rcube_plugin::require_plugin() method you have announced last May?
The new compose_addressbook plugin from http://underwa.ter.net/roundcube-plugins/, v.5.0b3 still uses this method and gives me the following error:
PHP Fatal error: Call to undefined method compose_addressbook::require_plugin() in plugins/compose_addressbook/compose_addressbook.php on line 16
Anyway, even by commenting out this line of code, the current compose_addressbook plugin is not compatible with RC 0.6. But please tell me what happened with this useful rcube_plugin::require_plugin() method?
I'll release a new version of compose_addressbook as soon as I know what the preferred method is now to include other plugins. You can probably just add jquery_ui to your list of plugins in main conf. But i really wished the plugin api interfaces remained somewhat stable. I can understand adding API calls, but removing or changing breaks everything. Maybe RC should consider moving to api versions. Whenever something would break current plugin installs, create a new api version and have developers move to the new version.
Cor
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On 29.09.2011 10:52, Philip Iezzi wrote:
What happened with the rcube_plugin::require_plugin() method you have announced last May?
The new compose_addressbook plugin from http://underwa.ter.net/roundcube-plugins/, v.5.0b3 still uses this method and gives me the following error:
PHP Fatal error: Call to undefined method compose_addressbook::require_plugin() in plugins/compose_addressbook/compose_addressbook.php on line 16
It's still there http://trac.roundcube.net/browser/branches/release-0.6/program/include/rcube...
It's still there http://trac.roundcube.net/browser/branches/release-0.6/program/include/rcube...
Yup, i was just about to reply that I can't reproduce this on latest svn. Everything seems to work ok. Teaches me to not reply before checking :)
Cor
List info: http://lists.roundcube.net/dev/ BT/aba52c80
On Thu, Sep 29, 2011 at 10:52, Philip Iezzi lists@iezzi.ch wrote:
Hi Thomas
Thanks for another great 0.6 release! What happened with the rcube_plugin::require_plugin() method you have announced last May?
The new compose_addressbook plugin from http://underwa.ter.net/roundcube-plugins/, v.5.0b3 still uses this method and gives me the following error:
PHP Fatal error: Call to undefined method compose_addressbook::require_plugin() in plugins/compose_addressbook/compose_addressbook.php on line 16
Anyway, even by commenting out this line of code, the current compose_addressbook plugin is not compatible with RC 0.6. But please tell me what happened with this useful rcube_plugin::require_plugin() method?
I'm a but confused about your report. rcube_plugin::require_plugin() is definitely available in the 0.6 stable release as it was in 0.6-beta and 0.6-rc. Maybe not all files have been updated on your installation?
~Thomas _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80
OUPS! Sorry about that, my fault! I had an unclean "svn switch", even another "svn update" didn't help, just the second "svn switch" finally solved it. Half of my code has not been switched from 0.5.4 to 0.6. I should have rather tested those plugins first on my 0.6-rc test instance.
Everything works! Thanks a lot Thomas and Cor for your fast responses.
take care Philip
Am 29.09.2011 um 11:33 schrieb Thomas Bruederli:
On Thu, Sep 29, 2011 at 10:52, Philip Iezzi lists@iezzi.ch wrote:
Hi Thomas
Thanks for another great 0.6 release! What happened with the rcube_plugin::require_plugin() method you have announced last May?
The new compose_addressbook plugin from http://underwa.ter.net/roundcube-plugins/, v.5.0b3 still uses this method and gives me the following error:
PHP Fatal error: Call to undefined method compose_addressbook::require_plugin() in plugins/compose_addressbook/compose_addressbook.php on line 16
Anyway, even by commenting out this line of code, the current compose_addressbook plugin is not compatible with RC 0.6. But please tell me what happened with this useful rcube_plugin::require_plugin() method?
I'm a but confused about your report. rcube_plugin::require_plugin() is definitely available in the 0.6 stable release as it was in 0.6-beta and 0.6-rc. Maybe not all files have been updated on your installation?
~Thomas
List info: http://lists.roundcube.net/dev/ BT/aba52c80