Scenario: A module you are using has an minor upgraded version available (for example, v3.5 to v3.6), but installing it gives an error that the module is already installed. You don't want to uninstall and reinstall the newer one, because you will lose your settings, you have multiple instances of module, you don't want the module missing from the site while your upgrading, etc.
Solution: Open the zip file of the new module version and edit the XML files as follow -- add:
method="install"
within the install tag so that it looks like this:
<install type="module" version="1.5.0">
IMPORTANT: Test this on a development site (a working copy of your site) before doing this on a live site.





0 Comments