[TYPO3-english] userFunc condition
    Dmitry Dulepov 
    dmitry.dulepov at gmail.com
       
    Tue Sep  8 14:53:13 CEST 2009
    
    
  
Hi!
Sergio Catalá Gil wrote:
> 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 {
		10 = TEXT
		10.value = Closed (can't subscribe)
	}
}
[userFunc = user_functions->user_compare_dates]
plugin.tt_news.genericmarkers.pk {
	10 = TEXT
	10.value = Subscribe
}
[global]
-- 
Dmitry Dulepov
Facebook: http://www.facebook.com/dmitryd
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs
    
    
More information about the TYPO3-english
mailing list