Although the title might sound silly and so easy, there are lot of people having difficulties with this. At first turning Magento module can be easy as going trough System Configuration > Current Configuration Scope > Advanced > Advanced > Disable Module Output. However, be very careful, this action only disables module output as it says. If your module uses, let’s say some Observer functionality to hook into some part of the system and does some overriding then those actions won’t be disabled.
To fully disable module, you need to go to module config file, like /etc/ActiveCodeline_MyModule.xml, and set it’s active parametar to false, like:
< ?xml version="1.0"?> <config> <modules> <activecodeline_mymodule> <active>false</active> <codepool>local</codepool> </activecodeline_mymodule> </modules> </config>



Also remember to disable System->Cache Management->Configuration cache.
do you have a solution to fully disable a Module just for a specific Website, Store or View? It’s a Problem I’ve been having for a while. An just disabling the output doesn’t do the trick.
hi,
for method containing observer tasks, I covered it with this condition:
if(!Mage::getStoreConfigFlag(‘myCompany/modulename’)) {
//codes here
}
what this condition does is, returns status of the module as its disabled in admin or not.
If its disable then my codes won’t get executed so I archive total disabled status of my module.
What about disabling core modules? E.g. how can I disable Google Base module from my Admin?
@Timo, did you finally fix your problem? I have the same and i don’t know how to do it
Hi – I have made a modification to the admin head.phtml (on a separate theme) which is controlled by a small module that sets the theme as active when enabled. the problem is that it keeps showing even after the module output is set to disabled. Obviously I don’t want anyone to have to set false (like you mentioned here) – as It’s a bit of an inconvenient to the end user. Could anyone share some knowledge on how to fix this?
@Timo and @ Fernando
you can make a small code-extension in the module while magentos module deactivation dont work correkt
put:
if(!Mage::getStoreConfigFlag('advanced/modules_disable_output/Company_ModuleName')) { //my module code here } else { //dont do anything (output disabled) }works in Magento 1.4.1.1
i have been studying on close the models as far as possible, but i can not make a decide
Is it possible to disable a module for a website or store view using this method? Please note, I am well aware of the enable/disable option in System >> Config >> Advanced, but I’d like to know if it’s possible to disable the module with the method described in this post.
oh man, thanks for this tip. Searched on google for about an hour till i found your post.
Why is this not told in the backedn or saomewhere else.
thank you for sharing.
the paid j2t discount label modul messed up a clients page and he was really depreceated. since we found your page and we could finally completely disable the module.
The folks at Yireo have what seems to be a different take on the impact of “Disable Module Output” vs XML disable. See what they say at:
http://www.yireo.com/tutorials/magento/magento-administration/665-disabling-magento-modules