Rahul negi
Rahul negi

Reputation: 123

Can we disable magento extension for particular page

how to disable a extension for particular page for example i want to disable extension for homepage only in magento

<config>
<modules>
<first_module>
<active>false</active>
<codepool>local</codepool>
</first_module>
</modules>
</config>

Upvotes: 1

Views: 926

Answers (2)

WEBSHOT
WEBSHOT

Reputation: 314

That is not possible in Magento 1.x

You can only enable/disable a module per store view or website.

Upvotes: 0

Suman KC
Suman KC

Reputation: 3528

I haven't confronted this kinda disabling feature that way. What we usually do is, we remove the module on the page from local.xml under the page responsible layout handle taking responsible reference.

For eg. if i don't one particular module for eg.newsletter on homepage then,

<cms_index_index> <!--/ Homepage -->
  <reference name="footer"> <!--/ Reference where the module appearing -->
    <remove name="newsletter"/> <!--/ Remove -->
  </reference>
</cms_index_index>

Upvotes: 2

Related Questions