Upgrading Joomla! Extensions
When a new version of a Joomla! extension becomes available, you usually have to un-install the current version, download and then install the new version. This will often make you lose any saved parameters for the extension being removed.
However, with two words, extension developers can save you all this heartache, resulting in an upgrade process of simply, download new version and install, upgrading your existing version of the extension.
How you ask?
Simple. In the XML installer file, declare the install tag in the following way
<install type="component" version="1.5.0" method="upgrade">
The method is the key! When set to upgrade, Joomla! will simply overwrite any files being installed. Of course, these files need to be writable either by the web server, or the FTP user in order for the install/upgrade to be successful, but it will let you know about that.
You can use this attribute when doing a clean install of an extension too, it’s not restricted to upgrades only!
Extension developers, please start using this feature! It makes keeping a Joomla! site up-to-date much easier and keeps the whole process simple for end-users!

recent comments