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

Jerome Schneider typo3dev at ameos.com
Thu Sep 11 14:07:08 CEST 2008


Hi Nikitin,

I patched it and packed everything in revision 246
You'll find it there:
http://formidable.typo3.ug/svn/changelog/revision-246.html

I modified a bit and you can define /custom, but also /class and /style 
(with userobj/codebehind)

Regards,
Jerome Schneider

"Nikitin S.M." <nikitinsm at gmail.com> a écrit dans le message de news: 
mailman.1.1221055972.16961.typo3-project-formidable at lists.netfielders.de...
>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