[Typo3] Current date problem
Peter Klein
peter at umloud.dk
Wed Nov 9 10:40:32 CET 2005
Hi Livius. What you need to do, is enclose the object(s) you DON'T want
cached, in a COA_INT object.
Something like this:
-- cut --
temp.DATE = COA_INT
temp.DATE {
10 = TEXT
10.data = date:U
10.strftime = %A, %e. %B %Y
}
-- cut --
More info on COA/COA_INT can be found here:
http://typo3.org/documentation/document-library/doc_core_tsref/COBJ_ARRAY_COA_COA/
---
Peter Klein / Umloud Untd.
"Livius Agrippa" <livius_agrippa at yahoo.com> wrote in message
news:mailman.1.1131521601.21948.typo3-english at lists.netfielders.de...
> Hi,
>
> I have inserted in TSscript the code below:
> temp.DATE = TEXT
> temp.DATE {
> data = date:U
> strftime = %A, %e. %B %Y
> }
> to show the current date on the page
> But in fact the pages are rendered from the cache and if I don't delete
> the cache every day, "the current day" is not exactly the current day.
>
> How can I delete automatically the cache every day? Or if somebody else
> had this problem before and knows a better solution.
>
> greetz,
> Livius
More information about the TYPO3-english
mailing list