VTModuleDesigner icon indicating copy to clipboard operation
VTModuleDesigner copied to clipboard

Feature: Edit module.postinstall, module.enabled etc. entries before install

Open mfclarke opened this issue 11 years ago • 1 comments

First up I've been having great success with your module designer, so thank you!

Now, it would be nice to be able to define these module events inside the module designer rather than manually running scripts after the module is installed.

This is so we can, for example, set up related lists from existing modules to the new one using a function like:

$contacts->setRelatedList(Vtiger_Module::getInstance('Payslip'), 'Payslips',Array('ADD'),'get_dependents_list');

To let Contacts have many Payslips that are viewable through a tab on the Contact DetailView.

It's a small thing but it would be nice to hit Install and not have to do anything else through scripts.

I have tried downloading the module zip, unzipping it, editing the module's php file and re-zipping, but vTiger doesn't like the new zip for some reason.

mfclarke avatar Feb 25 '14 00:02 mfclarke

Hello,

Thanks for your feedback. It is a good idea. You can code it and do a Pull Request.

sardoj avatar Feb 25 '14 12:02 sardoj