Jump to content

Add a contact form (send a message) to the main page


Recommended Posts

You have to redirect the user to the correct controller.

In the code you pasted, try and change

<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" enctype="multipart/form-data">

to

<form action="{$link->getPageLink('contact')}" method="post" class="std" enctype="multipart/form-data">

DIdn't test it, but it *might* work

Link to comment
Share on other sites

i changed tho code but it not really worked.

 

when i press send button it redirects me to the contact page. is it possible to do this without redirection to another page.

Costumers should stay on the page where contact form positioned after pressing send button.

Link to comment
Share on other sites

×
×
  • Create New...