This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation. |
Difference between revisions of "Customizations"
From Group-Office Groupware and CRM Documentation
(New page: It's very easy to customize Group-Office without modifying the existing sourcecode. This way you don't have to redo all the customizations each time you upgrade to a newer version. This e...) |
(No difference)
|
Revision as of 11:05, 17 November 2009
It's very easy to customize Group-Office without modifying the existing sourcecode. This way you don't have to redo all the customizations each time you upgrade to a newer version.
This example will add a dummy tab to the e-mail account dialog. Please read "Creating a module" first to get started. You need to enable debugging mode.
1. Create the folder modules/mymodule 2. Create modules/mymodule/scripts.txt with:
modules/mymodule/Plugin.js
Create modules/mymodule/Plugin.js and put this in it:
GO.moduleManager.onModuleReady('email',function(){ Ext.override(GO.email.AccountDialog, { initComponent : GO.email.AccountDialog.prototype.initComponent.createSequence(function(){ } }) });
Install the module and you should have a dummy tab in the account dialog at:
E-mail -> Administration -> E-mail accounts -> Accounts