[TYPO3-english] Hide field by current date
t3ng at bernd-wilke.net
Fri Nov 15 12:28:37 CET 2013
Am 15.11.13 12:02, schrieb Mike Kane:
> I have a column in the database that stores some date values separated
> by | and i want to show in the frontend another column if those dates
> match the current server date ( or the user computer date, that's
> irrelevant )
> To be more specific, the column to be shown is one of two, called
> "presentation" and "presentation_special". The column that stores the
> dates is called "dates".
> Now, here it is the main goal: the column "presentation" must be shown
> to the user until the end of the first date in column "dates", its like
> an expiration date to that field, that's why i supose it needs to be
> compared to current server date. After the date is expired,
> "presentation_special" must be shown instead of "presentation"
> I think i was clear enough, so can someone tell me if this is possible
> to do and tell me how to do it ? Or maybe there's an extension that can
> do this for me instead of using pure typoscript ?
what about using the fields TYPO3 usualy uses to time-restrict visibilty
More information about the TYPO3-english