Upgrading Submenu Tree from version 5.x-0.3 to 5.x-0.4
There were some significant changes between versions 0.3 and 0.4. Among other things, the database table schema changed, there was some code refactoring, and the API for the themeable functions changed as well. If you are upgrading from 0.3 to 0.4, please be aware of this and test thoroughly.
In particular, if you have overridden the themeable functions, then you must adjust them accordingly.
To upgrade from 0.3 to 0.4, there are two ways. For either, it is highly recommended that you BACK UP your database first.
The first and recommended way is:
1. Disable the module (version 0.3), uninstall it, and remove it entirely from sites/all/modules/submenutree (or wherever you have installed the module)
2. Install the module (version 0.4) and then reconfigure all your nodes
Unfortunately, all your settings will be lost so you'll have to redo them.
The second way is if you're feeling lazy or you don't mind taking risks. It has been tested to work, and should work, but you have been warned.
1. In sites/all/modules/submenutree (or wherever you have installed the module), overwrite version 0.3 with version 0.4
2. Use the database update script update.php (which you can also reach from Home >> Administer >> Logs >> Status Report) to run update #5001 for Submenu Tree
If the update is successful, it should migrate all your existing Submenu Tree-ed nodes to the new schema.
