[TYPO3-english] Content periodicity

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Fri Nov 13 00:09:55 CET 2009


You could use a userfunc condition:

	[userFunc = weekofyear(12)]

Or you could also try a USER/USER_INT object:

	includeLibs.something = media/scripts/example_callfunction.php
	page.30 = USER
	page.30 {
		userFunc = user_various->listContentRecordsOnPage


* k-do * schrieb:
> Hi list,
> I'd like to know if there is a way to show a content or another depending on
> the week.
> My case is that I need to show a lunch menu. Week1 I have to show menu1,
> week2 menu2, week3 menu1, week4 menu2...
> Also, this 2 menus are different in winter than in summer (there are two
> specific transition dates)
> Maybe this last requirement could be done by hand, by hiding and unhiding
> content. But it's better if it's authomatic. But the menus changing every
> week it is compulsory to do it autmaticly.
> How can I achieve this?

More information about the TYPO3-english mailing list