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
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.
-
how to Create this system.xml and which code can disable moduleVaibhav Ahalpara– Vaibhav Ahalpara2014年12月19日 06:19:34 +00:00Commented Dec 19, 2014 at 6:19
-
There are plentiful tutorials for that if you do a couple Google searches @vaibhavahalparaErfan– Erfan2014年12月23日 01:45:44 +00:00Commented Dec 23, 2014 at 1:45
Explore related questions
See similar questions with these tags.