|
Written by Samuel Suter
|
|
As of version 0.1.0 of all components, there is a totally new way to upgrade components. This improvement will be a huge andvantage for you guys trying to keep up-to-date with my components. I know, that it might have been quite awkward to install updates. Although I had some system in place, you still had to manually replace the files. Well, you will have to do this once more for each component as your current version is not yet prepared for the new installer. But as soon as all your components are on version 0.1.0 (all comps will be re-released soon with that version number), an upgrade can be done with two clicks!
How to upgrade from a version below 0.1.0 to 0.1.0 Well, you will have to manually replace files. This is an example for com_mls_events which is the first component being released with the new installer. First of all, make a backup copy of your site and database (as always :). Then, copy the following files in the /components/com_mls_events folder: - The "lang" folder
- mls_events.class.php
- mls_events.config.php
- mls_events.html.php
- mls_events.php
Copy the following files/folders in the /administrator/components/com_mls_events/ folder: - admin.mls_events.html.php
- admin.mls_events.php
- comupgrade.class.php
- The "install" folder
- install.mls_events.php
- mls_events.xml
- toolbar.mls_events.html.php
- toolbar.mls_events.php
- uninstall.mls_events.php
- version
After you have done that, just go to the admin backend and open any page on the "myLANsite Events" component. This will automatically detect that new files have been uploaded (it looks for the "version" file, so please do not forget to upload that one). If that file is detected, it launches the upgrader which will automatically upgrade your database to 0.1.0 level and prepare everything for the new installer for your next upgrade. It does not matter which version you are currently running (can be 0.0.1 or 0.0.2, same applies for all other components). How to upgrade from a 0.1.0 component to a 0.1.x component This is far easier. All you have to do is: - Launch the "component Installer" in Joomla!/Mambo
- Uninstall "myLANsite Events" component (no worries, no data will be lost)
- Install the new version
- Watch the automated upgrader doing the rest :)
- Have fun!
|