Thursday 10 April 2008 12:24:03 am
Here is templete file full: <div class="contact-form">
{include name=Validation uri='design:content/collectedinfo_validation.tpl'
class='message-warning' validation=$validation collection_attributes=$collection_attributes} <form method="post" action={"content/action"|ezurl}>
<table width="200" border="0" align="left" cellpadding="0" cellspacing="0">
<tr align="left">
<td><h4>{$node.data_map.text.contentclass_attribute.name}:</h4></td>
<td>{attribute_view_gui attribute=$node.data_map.text}</td>
</tr>
<tr align="left">
<td><h4>{$node.data_map.text2.contentclass_attribute.name}:</h4></td>
<td>{attribute_view_gui attribute=$node.data_map.text2}</td>
</tr>
<tr align="left">
<td><h4>{$node.data_map.text3.contentclass_attribute.name}:</h4></td>
<td>{attribute_view_gui attribute=$node.data_map.text3}</td>
</tr>
<tr align="left">
<td colspan="2"><h4>{$node.data_map.text4.contentclass_attribute.name}:</h4></td>
</tr>
<tr align="left">
<td colspan="2">{attribute_view_gui attribute=$node.data_map.text4}</td>
</tr>
<tr align="left">
<td colspan="2">
<input type="submit" class="defaultbutton" name="ActionCollectInformation" value="{"Send form"|i18n("design/ezwebin/full/feedback_form")}" />
<input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
<input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
<input type="hidden" name="ViewMode" value="full" />
</td>
</tr> </table>
</form> </div>
Also in override.ini.append.php i add:
[full_contact_form]
Source=node/view/full.tpl
MatchFile=full/contact_form.tpl
Subdir=templates Match[class_identifier]=contact_form
|