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.

asked Dec 19, 2014 at 5:55

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.

answered Dec 19, 2014 at 6:14
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 Commented Dec 23, 2014 at 1:45

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.