[TYPO3-project-formidable] Userobj in onfields property

Jerome Schneider j.schneider at ameos.com
Thu Jun 28 16:20:07 CEST 2007


Hello Manuel,

I included this patch in SVN rev 71

Thank you
Jerome Schneider

Manuel Rego Casasnovas a écrit :
> Hello everyone.
> 
> I've needed to use an unserobj in the onfields property in a search form.
> For this I've had to changed the line 569 from class.mainrenderlet.php,
> for the next lines:
> $mFields = $aConf["onfields"];
> 
> if(is_array($mFields) && array_key_exists("userobj", $mFields)) {
>     $mFields = $this->oForm->_callUserObj($mFields);
> }
> 
> $aFields = t3lib_div::trimExplode(",", $mFields);
> 
> class.mainrenderlet.php (569):
> http://test.kunstvaerker.dk/html/classformidable__mainrenderlet.html#l00569
> 
> If you want, you can add this new option in the next release.
> 
> Bye ;-)
>    Rego
> 


More information about the TYPO3-project-formidable mailing list