[Typo3-dev] TS: Using values returned by a userFunction

Nicolas Cohen nicolas at basicpayments.com
Wed Oct 26 20:31:07 CEST 2005


Ries van Twisk wrote:
> try this but I am not sure if categorySelection iis a stdWrap:
> 
> You need to change = to <
> 
> categorySelection < lib.categorySelection
> 
> 
Thanks Ries, i tried that but it didnt work, maybe i am making some 
other mistake here?

# Portadas de seccion

includeLibs.something = fileadmin/scripts/seccion_category.php

temp.catuid  = USER_INT
temp.catuid {
         userFunc = user_seccion_category
    }


seccion.newsLatest < plugin.tt_news
seccion.newsLatest {
   code >
   code = LATEST
   pid_list >
   pid_list = 74
   latestLimit = 1
   catImageMode = 0
   catTextMode = 0
   categorySelection < temp.catuid
   categoryMode = 1
}



Any solution here would be fantastic, we are considering editing php or 
adding an extension, but need to be sure that there's no "fair" way to 
do this.

Thanks,
Nicolas




More information about the TYPO3-dev mailing list