Index: modules/admin_message/INSTALL.txt =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/admin_message/INSTALL.txt,v retrieving revision 1.1 diff -u -r1.1 INSTALL.txt --- modules/admin_message/INSTALL.txt 21 Jul 2007 12:38:29 -0000 1.1 +++ modules/admin_message/INSTALL.txt 24 Jul 2007 18:45:07 -0000 @@ -5,8 +5,8 @@ 1. BACKUP YOUR DATABASE (if something goes wrong) 2. INSTALL ADMIN MESSAGE - - Unpack the module in your sites module directory. Then browse to + + Unpack the module in your sites/modules directory. Then browse to "Administer" -> "Site building" -> "Modules" and enable the module. 3. CONFIGURE ADMIN MESSAGE @@ -26,3 +26,32 @@ NOTE: There is no access control included, just the standard access provided by Drupal, which means that all users with "access content" permission can view messages. So don't provide any sensitive information. + +DEINSTALLATION +-------------- + +1. DISABLE ADMIN MESSAGE + + Browse to "Administer" -> "Site building" -> "Modules" and disable the module. + +2. REMOVE ADMIN MESSAGE + + Remove the files in sites/modules/admin_message and the directory itself. + +3. OPTIONAL: REMOVE CONFIGURATION + + Remove the variables "node_options_admin_message" and "comment_admin_message" + from the "variables" table. + + If this information is not removed, it will stay in the system, and be + available if you reinstall the module later. + +4. OPTIONAL: REMOVE OLD MESSAGES + + Select all nodes of the "admin_message" type in tables "node" and "node_revisions" + and remove them. This can be done either by hand in some tool like PHPMyAdmin + or dba.module, or using the node_delete API in some PHP code, or from the + Drupal UI at admin/content/node + + If this information is not removed, old admin message nodes will be available + again if you reinstall the system.