Ich habe/möchte auf einer Seite zwei Inhalte einfügen. In der Spalte "normal" wird mir der Text auch angezeigt (gebaut nach der Modern Templateerstellung Teil1). Wenn ich aber unter "links" oder "rechts" einen Text erstelen will, wird dieser mir nicht angezeigt. Warum?
Hier die Template Setup-Splate von mir (das Fett geschriebene wäre meine Lösung welche aber nicht funzt):
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with dynamic menu:
subparts.menu_1 < temp.menu_1
# Substitute the ###content### subpart with some example content:
subparts.content < styles.content.get
# Substitute the ###left### subpart with some example content:
subparts.left < styles.content.getLeft
}
Hier der HTML Text von meinem Temlate:
<table style="margin-top:50px" align="center" width="800px" border="1" cellpadding="0" cellspacing="0">
<!-- Header image row-->
<tr>
<td height="67" colspan="4"><img src="header_row.jpg"></td>
</tr>
<!-- Menü tabel cells -->
<tr align="center">
<td height="21" colspan="4"> <span class="menu1-level1-no"> <a href="#"><img src="1.jpg" border="none"> Service </a></span> <span class="menu1-level1-no"> <a href="#"><img src="1.jpg" border="none"> Webdesign</a></span> <span class="menu1-level1-act"> <a href="#"><img src="1.jpg" border="none"> Printdesign</a></span> <span class="menu1-level1-no"> <a href="#"><img src="1.jpg" border="none"> Grafikdesign</a></span> <span class="menu1-level1-no"> <a href="#"><img src="1.jpg" border="none"> Kontakt</a></span> <span class="menu1-level1-no"> <a href="#"><img src="1.jpg" border="none"> Login</a></span> </td>
</tr>
<tr>
<td width="120" height="35" bgcolor="#CCDFB7"> </td>
<td width="120" height="35" bgcolor="#EAF2E1"> </td>
<td width="125" height="35" bgcolor="#F5FAF1"> </td>
<td width="500" id="content" style="padding:20px" rowspan="2">
<!-- CONTENT ELEMENT, uid:93/text [begin] -->
<a name="93"></a>
<!-- Text: [begin] -->
<p class="bodytext"><font size="2"><b>xyzxyz</b> </p>
<p class="bodytext">xyzxyz
</p>
<p class="bodytext">xyzxyz
</p>
<p class="bodytext">xyzxyz<a href="typo3/alt_doc.php?edit[tt_content][93]=edit&columnsOnly=bodytext%2C%20rte_enabled&noView=0&returnUrl=%2Findex.php%3Fid%3D53"><img src="t3lib/gfx/edit_fe.gif" width="11" height="12" border="0" align="top" title="Edit bodytext" class="frontEndEditIcons" alt="" title="" /></a></font></p>
<!-- Text: [end] -->
<!-- CONTENT ELEMENT, uid:93/text [end] -->
</td>
</tr>
<tr>
<td height="337" id="links" colspan="3"><!--###links### begin --> <!--###links### end --></td>
<!-- Page Content Area tabel cells -->
</tr>
<tr align="left" bgcolor="#E8E8E8">
<!-- Footer row -->
<td height="20" colspan="4"> </td>
</tr>
</table>
Ich hoffe da kann mir jemand bei helfen.