I want to create a SugarCRM module for redistribution. Where should I populate $beanList, $beanFiles, and $moduleList?
That is, if I use the module generator to create a SugarCRM module, the system will auto generate the following file
custom/application/Ext/Include/modules.ext.php
which populates the three global variables $beanList, $beanFiles, and $moduleList with something like this (assuming a module name of pshw_Helloworld.
$beanList['pshw_Helloworld'] = 'pshw_Helloworld';
$beanFiles['pshw_Helloworld'] = 'modules/pshw_Helloworld/pshw_Helloworld.php';
$moduleList[] = 'pshw_Helloworld';
This works great for a local system — but if I wanted to redistribute a module (offered for downloading online, deployed to multiple offices, etc.), should I be instructing people to populate the modules.ext.php or modules_override.php file themselves? Or is there a more elegant way of redistributing a SugarCRM module that uses a bean?