[TYPO3-english]  userFunc condition
    Sergio Catalá Gil 
    scatala at iti.upv.es
       
    Tue Sep  8 14:34:16 CEST 2009
    
    
  
So: if conditions can only be used outside any object, how could i get
on TS the "return value" of my function? I just want to execute my
function to write something different on the FE depending on the return
value of this function. 
plugin.tt_news.genericmarkers {
  	pk = USER
	pk {
		userFunc = user_functions->user_compare_dates
		### something like that
		if (userFunc = true)
			write something...
		else 
			write others...
	}
}
    
    
More information about the TYPO3-english
mailing list