[TYPO3-ttnews] Not showing date/time if archive date is e.g. 1-1-2030

Jordan van Bergen jordanvanbergen at gmail.com
Sun May 18 21:24:13 CEST 2008


Hi Rupert / All,

>> a simple TS condition should do the trick:
>> plugin.tt_news.displaySingle {
>>  datetime_stdWrap.if.field = archivedate
>>  datetime_stdWrap.if.negate = 1
>> }

Thanks for the tip. I found out that:

 date_stdWrap.if.field = archivedate
 date_stdWrap.if.negate = 1

does something. So instead of using datetime_ using date_ helps. 
But as soon as:

 date_stdWrap.if.negate = 1

is read the date isn't shown anymore. According to me 
date_stdWrap.if.negate = 1 
should only be executed if archivedate is the same as a certain value.

So I think I need to add one extra line or not? Any suggestions?

Regards
Jordan van Bergen


More information about the TYPO3-project-tt-news mailing list