[TYPO3-project-formidable] Hi is it possible to patch listbox a little ?

Nikitin S.M. nikitinsm at gmail.com
Fri Aug 15 09:52:42 CEST 2008


This patch will enable cutomization of option tag for ex.: disabled 
attribute can be implemented or style and etc.

ameos_formidable\api\base\rdt_listbox\api\class.tx_rdtlistbox.php
== ADD after 54 row:

if($aItem["custom"] != ""){
   $sCustom = $aItem["custom"];
}

== UPDATE 59 row to:

$aHtml[] = "<option value=\"" . $aItem["value"] . "\" " . $sSelected . " 
" . $sCustom . ">" . $sCaption . "</option>";


More information about the TYPO3-project-formidable mailing list