[Typo3-dev] flexform issues again
Tonni Aagesen
goto at dev.null
Mon Sep 6 09:58:39 CEST 2004
Hi list,
As might have guessed, I'm in deep with this flexform-thingie. I've
managed to store flexform xml in a record DB field, however I've got a
few more questions:
1) Imagine an simple extension containing only two fields; "title" and
"message". Suppose I want to store "title" and "message" record
information in XML in a single field "xml". Now, if i put "xml" as
value in the "label" key of TCA->ctrl section, then in BE the records
shows an icon and the text "<?xml ... ". Is there any way to set the
label as some xml value ?
$TCA["tx_myext_items"] = Array (
"ctrl" => Array (
"label" => "info", // how to get xml value here?
2) How do I setup a multiple checkbox field in flexform? Eg. translate
this TCA to flexform:
"config" => Array (
"type" => "check",
"cols" => 4,
"items" => Array (
Array("LLL:EXT:myext/locallang_db.php:tx_myext_items.sale_options.I.0", ""),
Array("LLL:EXT:myext/locallang_db.php:tx_myext_items.sale_options.I.1", ""),
),
I haven't been able to get this from core-api-doc or elsewhere... any ideas?
--
Best regards
Tonni Aagesen
www.cazoo.dk
More information about the TYPO3-dev
mailing list