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

Nikitin S.M. nikitinsm at gmail.com
Wed Sep 10 16:12:42 CEST 2008


I ask to patch listbox a little but nothing happens from the last 
revision. So I need to repatch it everytime, maybe You'll do it next 
time it is a little patch that will give a big ability to add custom 
parameters to an option tag in select:


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