Custom Module Tools

Last modified: April 28, 2009 - 12:05

Here's a walkthrough for how to use Custom Module Updates module.

  1. Module Updates administration

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

    Submit some forms and check the box to track the submission.
  3. See the confirmation and link back to the update.
  4. Example: Site Config

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

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

    Select which form submissions you would like to export
  7. Save hook_update_N and the include file, upload to live site
  8. Run update.php
  9. 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.

------------------------

Jonathan Pugh, the developer of this module, is for HIRE! Contact him here

 
 

Drupal is a registered trademark of Dries Buytaert.