[TYPO3-english] Hide field by current date

Mike Kane sara_bets at hotmail.com
Fri Nov 15 12:02:07 CET 2013

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 ?

Kind regards

More information about the TYPO3-english mailing list