Most of us would have come across the option to Disable modules output in the Magento back-end under System > Configuration > Advanced.
While the above does what it says (disable output from our extension’s blocks) the extension is still in the system and active. So all module rewrites, controllers, etc are still in place. Turning off an extension is easy, simply find the corresponding xml file under app/etc/modules/ and change active true to false.
Once you refresh your configuration cache or delete the contents of /var/cache the extension is deactivated. Any changes the extension might have made to your database are not affected by this change.
Similarly if you want to re-enable an extension simply change back to active true. Once you have refreshed your Magento configuration cache the extension will show up again.
Originally published on magebase.com. Copyright © 2010 Magebase - All Rights Reserved.