Jump to content

Contact us page help


Recommended Posts

Hi

When a customer presses submit on the contact us page it just reloads the same contact us page, it doesn't display the message " your message has been successfully sent to our team"

How do i fix this, i've attached a copy of my contact-form.tpl

Link to comment
Share on other sites

it won't let me attach file so i've copied and pasted it below:

{capture name=path}{l s='Contact'}{/capture}
{include file=$tpl_dir./breadcrumb.tpl}

{l s='Contact us'}



{if isset($confirmation)}

{l s='Your message has been successfully sent to our team.'}



{else}

{l s='For questions about an order or for information about our products you can contact us via one of the metods below'}.


{include file=$tpl_dir./errors.tpl}
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std">

{l s='Send a message'}



{l s='Subject'}

{l s='-- Choose --'}
{foreach from=$contacts item=contact}
{$contact.name|escape:'htmlall':'UTF-8'}
{/foreach}


 


{foreach from=$contacts item=contact}


 {$contact.description|escape:'htmlall':'UTF-8'}


{/foreach}


{l s='E-mail address'}
<input type="text" id="email" name="from" value="{$email}" />



{l s='Message'}
<textarea id="message" name="message" rows="7" cols="35">{if isset($smarty.post.message)}{$smarty.post.message|escape:'htmlall':'UTF-8'|stripslashes}{/if}</textarea>



<input type="submit" name="submitMessage" id="submitMessage" value="{l s='Send'}" class="button_large">


Visit us instore:


135 Front Street

Chester le Street

County Durham

DH3 3BL

 

 

Store Opening Times

Monday - Friday 9:00am until 5:00pm

Saturday 9:00am until 4:00pm

Sunday CLOSED

 

Call free* us on:

08082889874


 

 

* calls are free from a BT lanline, calls from mobiles/other networks may cost. Please note we DO NOT share your details with any third party nor do we use them to contact you other than to answer your question submitted above.


</form>
{/if}
Link to comment
Share on other sites

×
×
  • Create New...