html-Ausgabekanal der Seitenvorlage "standard_content". Auf dieser Seite wird das Formular hinzugefügt.
<CMS_HEADER>
</CMS_HEADER>
$CMS_TRIM(level:3)$
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de-DE">
<head>
<title>Meine Seite</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="$CMS_REF(media:"style")$" media="screen" />
<link rel="stylesheet" type="text/css" href="$CMS_REF(media:"jquery_ui_1.8.18.custom")$" media="screen" />
<script type="text/javascript" src="$CMS_REF(media:"jquery_1_7_1_min")$"></script>
<script type="text/javascript" src="$CMS_REF(media:"jquery_ui_1_8_18_custom_min")$"></script>
<script type="text/javascript" src="$CMS_REF(media:"cufon_yui")$"></script>
<script type="text/javascript" src="$CMS_REF(media:"font")$"></script>
<script type="text/javascript" src="$CMS_REF(media:"formedit_js")$"></script>
<script type="text/javascript" src="$CMS_REF(media:"messages")$"></script>
<script type="text/javascript">
Cufon.replace('#center h1');
Cufon.replace('#center h2');
$(function() {
$("#tabs").tabs();
});
</script>
</head>
<body>
<div id="container">
<div id="content-container">
<ul id="breadcrum">
$CMS_RENDER(template:"breadcrum_navigation")$
</ul>
<div id="header"><a href="$CMS_REF(pageref:"homepage")$" alt="Homepage"><img src="$CMS_REF(media:"logo")$" alt="Logo" /></a></div>
<ul id="top-navi">
$CMS_RENDER(template:"top_navigation")$
</ul>
<div id="content">
<div id="left">
<ul id="main-navi">
$CMS_RENDER(template:"main_navigation")$
</ul>
</div>
<div id="center">
$CMS_VALUE(#global.page.body("content"))$
</div>
<div id="right">
$CMS_VALUE(#global.page.body("marginal"))$
</div>
</div>
</div>
<div id="footer">
<div id="footer-shadow"> </div>
<div id="footer-gradient">
<ul>
<li><a href="$CMS_REF(pageref:"legal_notice")$" target="_self" title="Legal Notice">Legal Notice</a></li>
<li><a href="$CMS_REF(pageref:"terms_and_conditions")$" target="_self" title="Terms and Conditions">Terms and Conditions</li>
<li class="last">Sitemap</li>
</ul>
</div>
</div>
</div>
<script type="text/javascript"> Cufon.now(); </script>
</body>
</html>
$CMS_END_TRIM$
Die Absatzvorlagen FormularStart, FormularBlock und FormularEnde sowie die einzelnen Formularfeldtypen habe ich quasi unverändert übernommen.
Und hier das Formular der Tabellenvorlage (der html Ausgabekanal ist leer):
<CMS_MODULE>
<CMS_INPUT_TEXT name="cs_requested_quantity_active" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Requested quantity kg active"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_requested_quantity_solution" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Requested quantity kg solution"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXTAREA name="cs_intended_use" allowEmpty="yes" hFill="no" rows="4">
<LANGINFOS>
<LANGINFO lang="*" label="Intended use"/>
</LANGINFOS>
</CMS_INPUT_TEXTAREA>
<CMS_INPUT_TEXTAREA name="cs_questions_comments" allowEmpty="yes" hFill="no" rows="4">
<LANGINFOS>
<LANGINFO lang="*" label="Questions and Comments"/>
</LANGINFOS>
</CMS_INPUT_TEXTAREA>
<CMS_INPUT_TEXT name="cs_firstname" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="First Name"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_lastname" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Last Name"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_company" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Company"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_phone" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Phone"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_fax" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Fax"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_email" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="E-Mail"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXTAREA name="cs_address1" allowEmpty="yes" hFill="no" rows="4">
<LANGINFOS>
<LANGINFO lang="*" label="Address 1"/>
</LANGINFOS>
</CMS_INPUT_TEXTAREA>
<CMS_INPUT_TEXTAREA name="cs_address2" allowEmpty="yes" hFill="no" rows="4">
<LANGINFOS>
<LANGINFO lang="*" label="Address 2"/>
</LANGINFOS>
</CMS_INPUT_TEXTAREA>
<CMS_INPUT_TEXT name="cs_city" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="City"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_region" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="State/Province/Region"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_postal_code" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Postal Code"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
<CMS_INPUT_TEXT name="cs_country" allowEmpty="yes" singleLine="no">
<LANGINFOS>
<LANGINFO lang="*" label="Country"/>
</LANGINFOS>
</CMS_INPUT_TEXT>
</CMS_MODULE>