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

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


Nikitin S.M. пишет:
> 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:

$sCustom = "";

> 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