Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to rewrite a config.xml file ? 
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

I want to rewrite the file “admin.xml” of “code/core/Mage/Admin/etc”.
To do so I want that Magento use my “admin.xml “ file of “local/MySpace/MyModule/Admin/etc/”

I don’t understand what i have to write in “config.xml” of my module.

Sorry for my English

 
Magento Community Magento Community
Magento Community
Magento Community
 
nicolas46
Sr. Member
 
Total Posts:  210
Joined:  2008-04-09
Toulouse
 

nobody ?  downer

If i understand that, i will be able to “externalize” my modules.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Moshe
Magento Team
 
Avatar
Total Posts:  1770
Joined:  2007-08-07
Los Angeles
 

Mage/Admin/etc/admin.xml file is not used anymore.

All the configuration information is stored in */etc/config.xml file.

To overwrite it in your module you just need to create same path structure of XML with your custom information.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top