Hallo Forum!
Problem: Das Newsdatum wird komisch angezeigt; eine News, die ich gestern (24.09.) erstellt habe kriegt das Newsdatum "-01-70" in meinem "Latest News Bereich".
TypoScript:
subparts.NEWS < plugin.tt_news
subparts.NEWS {
code >
code = LATEST
latestLimit = 2
date_stdWrap.strftime= %d.%m.%y
}
Template:
<!-- ###TEMPLATE_LATEST### begin
This is the template for the latest news, typically displayed on a frontpage
-->
<TABLE cellpadding="4" cellspacing="1" border="0" width="1" align="right">
<TR bgcolor="#FFFFFF">
<TD valign="bottom"> <font color="#000000"> <B>NEWS</B></FONT></TD>
</TR>
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<TR>
<TD bgcolor="#FFFFFF" valign="top"><font color="#000000"> ###NEWS_DATE###
</FONT> <br> <!--###LINK_ITEM###--> <B>###NEWS_TITLE###</B>
<!--###LINK_ITEM###-->
</TD>
</TR>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<TR>
<TD><img src=clear.gif width=150 height=1></TD>
</TR>
</TABLE>
<!-- ###TEMPLATE_LATEST### end -->
[ Diese Nachricht wurde geändert von: Sourcerer am 2002-09-25 11:34 ]