Ricky Sharma
Ricky Sharma

Reputation: 1919

Why I can not disable module using system config advanced?

I am facing this for a long time now. I am not able to disable module using config->Advanced(Not disabling the output). After selecting to disable it and save it, output still shows up.

Every time I have to jump into the code to disable it.

Does anyone know what the problem is?

Upvotes: 0

Views: 586

Answers (2)

Mukesh
Mukesh

Reputation: 7778

You need to do something like this in your xml file at location /app/etc/modules

<?xml version="1.0"?>
<config>
    <modules>
        <Magentocustmod_HideEmptyCategories>
            <active>true</active>
            <codePool>local</codePool>
        </Magentocustmod_HideEmptyCategories>
    </modules>
</config>

Now change <active>true</active> to <active>false</active> in your code.

Upvotes: 2

pzirkind
pzirkind

Reputation: 2338

You might need to flush your cache in order for the modules output to be disabled.

Please note: all the backend does is disable the output and not the module itself.

To disable the module itself, you need to go to the modules XML file in app/etc/modules and turn the active tag to 'false'

Upvotes: 1

Related Questions