I have some problems with a second contact form for revocation. The normal contact forms works fine, but I need a second form with special fields like OrderID, OrderDate, Address, ....
I made a new form-template near the form.phtml called revocation.phtml. Works fine
I made an url rewrite from contact/index to revocation. Works fine
Put a second declaration for revocation in the contacts.xml Works fine. Is that maybe wrong?
I made an email template for the special values of the revocation. Here is the problem.
When I send the revocation form magento use the normal contact mail template and the values for OrderId, OrderDate ... are lost. The shop owner only gets the normal contact email with name, text...
How can I use the revocation email template instead of the contact email template?
In the admin configuration I can choose the standard template for the contact form, but i can´t find a solution for the revocation email.
Here the contacts.xml
<layout version="0.1.0">
<contacts_index_index translate="label">
<label>Contact Us Form</label>
<reference name="head">
<action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/2columns-left.phtml</template></action>
<action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
</reference>
<reference name="content">
<block type="core/template" name="contactForm" template="contacts/form.phtml"/>
</reference>
<remove name="topslider"/>
<remove name="topseller"/>
</contacts_index_index>
<contacts_index_index translate="label">
<label>Revocation</label>
<reference name="head">
<action method="setTitle" translate="title" module="contacts"><title>Revocation</title></action>
</reference>
<reference name="root">
<action method="setTemplate"><template>page/1column.phtml</template></action>
<action method="setHeaderTitle" translate="title" module="contacts"><title>Revocation</title></action>
</reference>
<reference name="content">
<block type="core/template" name="contactForm" template="contacts/revocation.phtml"/>
</reference>
<remove name="topslider"/>
<remove name="topseller"/>
</contacts_index_index>
</layout>
I use magento 1.8.1