[TYPO3] Show after date/time condition in TS

Dmitry Martynenko dima at realt.by
Mon Mar 31 16:48:03 CEST 2008


Hi List!

I need to insert some content before usual site content for certain period.
Help me write proper TS to show HTML CE only after certain date, or in date range.

I try this, but it does not works:

page.5 = HTML
page.5.value = <iframe >...</iframe>
page.5.if {
  # get current date
  value.data = date: y-m-d
  # start date
  isGreaterThan = 08-04-01
  # end date
  isLessThan = 08-05-01
}

-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list