Jump to content

Contact Form disappeared from site


Recommended Posts

Contact form was working fine, until I changed the tpl file... Could anyone please tell me what I've done wrong?

{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.'}

{l s='Home'}


{else}

{l s='For questions about an order or for information about our products'}.
    {include file=$tpl_dir./errors.tpl}
   <form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std">



{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="{if isset($smarty.post.from)}{$smarty.post.from|escape:'htmlall':'UTF-8'|stripslashes}{/if}" />



{l s='Message'}
            <textarea id="message" name="message" rows="7" cols="60">{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="buttonvalidate" style="margin-left:150px !important; margin-left:153px " />


</form>
{/if}



{l s='Summerblossom Handmade Accessories'}

{l s='Sydney, NSW, Australia'}
{l s='You need further information ?'}

{l s='[email protected]'}

{l s='Phone:'} {l s=' 0407 919 329'}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...