Changing contact us to secured in magento

I know in order to do this I need to add to the config file located in app/code/core/Mage/Contacts/etc/config.xml the following

<secure_url> 
<contacts>/contacts/</contacts> 
</secure_url>

below the

<frontend> tag

but if I wanted to create a module that depends on Mage_Contacts can I just create basically an etc/config.xml file that mimics the one in Mage_Contacts_Etc? Additionally it seems like overkill just to do that for such a small little change.

One thought on “Changing contact us to secured in magento”

  1. Yes, you can override it in another module. Magento combines all XML files into one large XML tree, so individual files are not a problem. You are also right that this isn’t really worth an entire module. In projects I complete, it’s common to have a project-specific module for odds and ends like this.

    Hope that helps!

    Thanks,
    Joe

Leave a Reply

Your email address will not be published. Required fields are marked *