[TYPO3-project-formidable] Userobj in onfields property

Manuel Rego Casasnovas mrego at igalia.com
Mon Jun 25 09:39:52 CEST 2007


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

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com


More information about the TYPO3-project-formidable mailing list