[TYPO3-english] Compare dates on TS

Sergio Catalá Gil scatala at iti.upv.es
Thu Sep 3 18:26:12 CEST 2009


Thanks, Dmitry, for your answer. I used userFunc as it is explained in
the TSRef and it works for a string parameter. What I would like to use
now is a certain field from the actual tt_news record, but I don't know
how. 

Example:

[userFunc = user_compare_dates(plugin.tt_news.archivedate.value)]
	do some stuff...
[else]
	do other stuff...
[end]

It ignores my parameter. 

Thanks in advance, 
Sergio




More information about the TYPO3-english mailing list