Last updated February 21, 2012. Created by Jon Pugh on April 20, 2009.
Edited by jhodgdon, arianek, add1sun, greggles. Log in to edit this page.
Here's a walkthrough for how to use Custom Module Updates module.
- Module Updates administration

Enter your custom module's name to start tracking form submits. - Example: Add a role

Submit some forms and check the box to track the submission. - See the confirmation and link back to the update.

- Example: Site Config

Don't forget to check the box! A message always helps too. - View Updates

Select which form submissions you would like to export - Update .install code for your custom module

Select which form submissions you would like to export - Save hook_update_N and the include file, upload to live site
- Run update.php
- Return to admin/reports/custom_module_updates to select and execute the updates
The exported update function simply inserts the updates data into the live database, since there are problems with executing all the forms directly in the batch update process.
Once that is done, simply visit the update admin page to execute the form submissions, again choosing which ones you want.
| Attachment | Size |
|---|---|
| Updates Page.gif | 28.89 KB |
| Add Role.gif | 22.35 KB |
| Form submit confirmation.gif | 29.41 KB |
| Site Information.gif | 17.97 KB |
| Exporting Updates.gif | 18.05 KB |
| Install File Code.gif | 28.34 KB |