[Vtigercrm-developers] Module manager - updating existing module

S T Prasad stprasad at stprasad.com
Tue Nov 6 14:23:18 GMT 2018


Hi again Chris,

As mentioned earlier, there are events triggered during module install.
Upgrade methods are triggered by

} else if($eventType == 'module.preupdate') {
// TODO Handle actions before this module is updated.
} else if($eventType == 'module.postupdate') {
// TODO Handle actions after this module is updated.

The developer of the module has to take care as illustrated in the above
snippet



With best regards,

S.T.Prasad (Skype: stprasad at stprasad.com)
Founder and Chief Shikari
http://www.vtigress.com
The Purr-fect mate for vTiger
Certified Solution Partner for Asia and Africa

On Tue, Nov 6, 2018 at 7:35 PM, IT-Solutions4You <info at its4you.sk> wrote:

> Installation proces search for module, if exist then Upgrade it.
>
> Matus
>
> Dňa 6. 11. 2018 o 11:57 socialboostdk napísal(a):
>
>> Hi there,
>>
>> I have a "silly question":
>>
>> If i make and install a module version 1.0, is it possible to make it so
>> that when i later make a version 1.2 it will update the existing module?
>> Ie. also apply database-changes?
>>
>> In "the old days" this was not possible (https://wiki.vtiger.com/index
>> .php/Module_Manager#Upgrade_Module) but is it not today?
>>
>> Thank you for your input :)
>>
>> Chris
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>>
>>
>
> _______________________________________________
> http://www.vtiger.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20181106/a28b3888/attachment.html>


More information about the vtigercrm-developers mailing list