I need to change contact us page email template type from "text" to "HTML". I found it is in the config.xml
<email>
<contacts_email_email_template translate="label" module="contacts">
<label>Contact Form</label>
<file>contact_form.html</file>
<type>text</type>
</contacts_email_email_template>
</email>
How properly to override config.xml
[EDIT] this is for the file app/code/core/mage/contact/etc/config.xml and the below answer will work for any …/mage/ANYTHING/etc/config.xml
Best Answer
Create your own module (
[Namespace]_[Module]
).For this you need:
app/etc/modules/[Namespace]_[Module].xml
- the declaration fileapp/code/local/[Namespace]/[Module]/etc/config.xml
- the configuration fileClear the cache and you are set to go.
Basically this is how you can overwrite any node from
config.xml
. Just create a module and in it'sconfig.xml
file replicate the original node path and add your value.