54
Hi,
I am trying to use contact plus module to show the customised contat us page. The module works fine. Now i wanted to add the "Contact Address" on top of the contact us form.
I changed the template but still its not showing it up.
Here is what i did to contact_contactusform.html
Quote:
<!--- My mods start here -->
<table class="outer" cellspacing="1">
<tr>
<th colspan="2" >Contact Information </th>
</tr>
<tr>
<td>Address</td><td>My address<br>
Building,<br>
Street <br>
City<br>
Country
</td>
</tr>
<tr>
<td> Phone: </td> <td> 01-123456789</td>
</tr>
<tr>
<td> Email Address </td> <td> foo@bar.com</td>
</tr>
</table>
<br>
<br>
<!--- My mods end here -->
<{$contactform.javascript}>
<form name="<{$contactform.name}>" action="<{$contactform.action}>" method="<{$contactform.method}>" <{$contactform.extra}>>
<table class="outer" cellspacing="1">
<tr>
<th colspan="2"><{$contactform.title}></th>
</tr>
<!-- start of form elements loop -->
<{foreach item=element from=$contactform.elements}>
<{if $element.hidden != true}>
<tr>
<td class="head"><{$element.caption}></td>
<td class="<{cycle values="even,odd"}>"><{$element.body}></td>
</tr>
<{else}>
<{$element.body}>
<{/if}>
<{/foreach}>
<!-- end of form elements loop -->
</table>
</form>
i am trying to make it look somewhat like this
http://www.obscorp.com/obsportal/modules/contact_plus/
I checked the template in database contains this. But while displaying, the content added by me doesnt show up only the default contact us page appears.
Any idea whats the missing link?