0

How can i control my Custom Magento Extension from admin panal

What is System.xml ?

To view data and most i want to enable and disable module by my custome admin site

i want my own functionality for this feature.

1 Answer 1

1

The only way to really disable your module is to change

<active>true</active>

to

<active>false</active>

in your app/etc/modules/foo.xml

If you want an admin account to be able to do it in the back-end, you can create a config option (with system.xml) to control your module. Although it's not exactly the same as disabling your module, you can make sure your module doesn't do anything by looking at the store config.

2
  • how to Create this system.xml and which code can disable module Commented Dec 19, 2014 at 6:19
  • There are plentiful tutorials for that if you do a couple Google searches @vaibhavahalpara
    – Erfan
    Commented Dec 23, 2014 at 1:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.