Hallo nochmal,
ich habe folgende Designvorlge gebaut:
</HEAD>
<BODY LANG="de-DE" BGCOLOR="#33cc66" DIR="LTR">
<TABLE WIDTH=100% BORDER=0 CELLPADDING=4 CELLSPACING=0 STYLE="page-break-before: always">
<COL WIDTH=128*>
<COL WIDTH=128*>
<THEAD>
<TR>
<TH COLSPAN=2 WIDTH=100% VALIGN=TOP>
<P ALIGN=CENTER STYLE="font-weight: medium">###header###</P>
</TH>
</TR>
</THEAD>
<TBODY>
<TR VALIGN=TOP>
<TH WIDTH=50%>
<P ALIGN=LEFT STYLE="font-weight: medium">###menue###</P>
</TH>
<TD WIDTH=50%>
<P>###inhalt###
</P>
</TD>
</TR>
</TBODY>
</TABLE>
<P><BR><BR>
</P>
</BODY>
</HTML>
Dazu noch das Script:
seite = PAGE
seite.typeNum = 0
seite.10 = TEMPLATE
seite.10.template = FILE
seite.10.template.file= fileadmin/template.html
seite.10.marks.inhalt = CONTENT
seite.10.marks.inhalt
{
table = tt_content
select.orderBy = sortig
select.where = colPos=0
}
Nun die Frage: Warum wird mir zwar ###inhalt### ausgeblendet (so als wenn nichts in der Variable drin stehen würde)? Ich kann zwar mit marks.inhalt=Text hier was manuell einbringen, dieses bekomme ich auch schön angezeigt, aber ich kann keine Inhalte aus der DB sehen. Liegt das an dem select? Ich habe im Template incude statc: content (default) schon eingebeunden. Gruß und Danke Tötzel