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

Rupert Germann rupi at gmx.li
Mon Mar 24 19:38:04 CET 2008


hi jordan,

a simple TS condition should do the trick:

plugin.tt_news.displaySingle {
  datetime_stdWrap.if.field = archivedate
  datetime_stdWrap.if.negate = 1
}

greets
rupert

PS: but nevertheless you can sponsor me, if you like ;-)
 

Jordan van Bergen wrote:

> Hi All,
> 
> I would love to have the functionality to not show the date/time belonging
> to a newsitem on the individual newspage (single item) if a specific
> archive date has been entered (e.g.) 1-1-2030 for a newsitem. At current
> the date/time is always showing if added to the template. "normal" items
> should show the date/time but items with archive date 1-1-2030 shouldn't
> show the date. Do I have to dive into the code and change it myself or is
> there a way to do this already?
> 
> Anyone a suggestion/solution?
> 
> I'm willing to sponsor this feature Rupert if this is not possible
> already.
> 
> Regards
> 
> Jordan van Bergen



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