<div dir="ltr"><div dir="ltr">Hi again Chris,<div><br></div><div>As mentioned earlier, there are events triggered during module install. Upgrade methods are triggered by </div><div><br></div><div><div><span style="white-space:pre">            </span>} else if($eventType == 'module.preupdate') {</div><div><span style="white-space:pre">                 </span>// TODO Handle actions before this module is updated.</div><div><span style="white-space:pre">         </span>} else if($eventType == 'module.postupdate') {</div><div><span style="white-space:pre">                        </span>// TODO Handle actions after this module is updated.</div></div><div><br></div><div>The developer of the module has to take care as illustrated in the above snippet</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>With best regards,<br><br>S.T.Prasad (Skype: <a href="mailto:stprasad@stprasad.com" target="_blank">stprasad@stprasad.com</a>)</div><div>Founder and Chief Shikari<br><a href="http://www.vtigress.com" target="_blank">http://www.vtigress.com</a><br>The Purr-fect mate for vTiger<br></div><div>Certified Solution Partner for Asia and Africa</div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Nov 6, 2018 at 7:35 PM, IT-Solutions4You <span dir="ltr"><<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Installation proces search for module, if exist then Upgrade it.<br>
<br>
Matus<br>
<br>
Dňa 6. 11. 2018 o 11:57 socialboostdk napísal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Hi there,<br>
<br>
I have a "silly question":<br>
<br>
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?<br>
<br>
In "the old days" this was not possible (<a href="https://wiki.vtiger.com/index.php/Module_Manager#Upgrade_Module" rel="noreferrer" target="_blank">https://wiki.vtiger.com/index<wbr>.php/Module_Manager#Upgrade_<wbr>Module</a>) but is it not today?<br>
<br>
Thank you for your input :)<br>
<br>
Chris<br>
<br>
<br></div></div>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br></div>