sardoj / VTModuleDesigner

Module Designer for Vtiger 6
Other
69 stars 61 forks source link

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

Open mfclarke opened 10 years ago

mfclarke commented 10 years ago

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.

sardoj commented 10 years ago

Hello,

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