View Full Version : adding address

01-20-10, 05:36 PM
I am wanting to add my address to the top of the contact form i thought it would of been the contact.tpl

this is what i added

Our Address:<br /><br />
Host2design<br /><br />
26 marchburn Drive<br />
Aberdeen<br />
Scotland<br />
AB16 7LS<br />


{if $sent}

<p align="center"><strong>{$LANG.contactsent}</strong></p>


<form method="post" action="contact.php?action=send">

{if $errormessage}<div class="errorbox">{$errormessage|replace:'<li>':' &nbsp;#&nbsp; '} &nbsp;#&nbsp; </div><br />{/if}

<table cellspacing="1" cellpadding="0" class="frame"><tr><td>

<table width="100%" cellpadding="2">

<tr><td width="100" class="fieldarea">{$LANG.contactname}</td><td><input type="text" name="name" size="30" value="{$name}"></td></tr>

<tr><td class="fieldarea">{$LANG.contactemail}</td><td><input type="text" name="email" size="50" value="{$email}"></td></tr>

<tr><td class="fieldarea">{$LANG.contactsubject}</td><td><input type="text" name="subject" size="60" value="{$subject}"></td></tr>

<tr><td class="fieldarea">{$LANG.contactmessage}</td><td><textarea name="message" rows=8 style="width:95%">{$message}</textarea></td></tr>



{if $capatacha}<p align="center">{$LANG.imagecheck}<br /><img src="includes/verifyimage.php" align="middle"> <input type="text" name="code" size="10" maxlength="5"></p>{/if}

<p align="center"><input type="submit" value="{$LANG.contactsend}"></p>



You can view it here http://www.host2design.co.uk/support/submitticket.php?step=2&deptid=3

01-20-10, 11:47 PM
it look like you have the settings Presales Form Destination in admin set to a Department so it will use the support ticket page but it look like you want to use
the contact page so you would need to change the setting to use the Choose a
Department - OR - Send to email address below then your coding will probable show.

01-21-10, 10:21 AM
Thanks that was it.