[Typo3-dev] t3lib_tceforms.php: patch for getSingleField_typeRadio()
Richard Piacentini
ricp*remove_this* at nuxos.fr
Sat Jan 15 04:14:59 CET 2005
Hi list,
while using radio buttons in a BE extension i needed them to render all on
the same level, but i found an harcoded <br /> in
getSingleField_typeRadio().
so i wrote a little patch to add a new config var for radio type so i can
define an optional arbitrary separator in TCA, like this:
'stuff' => Array (
...
'config' => Array (
'type' => 'radio',
'separator' => ' ',
...
)
),
don't know if it'll be useful for anybody else, and i didn't want to submit
a bug for this cause as (rightly) stated in Typo3 Core API: "Radio buttons
are seldom used, but..." ;-)
anyway the patch is available here:
http://www.nuxos.fr/typo3/3.7.0/patch/class.t3lib_tceforms.php-getSingleField_typeRadio.patch.gz
feel free to use if you need it.
bests,
Richard
More information about the TYPO3-dev
mailing list