[TYPO3-german] TCA Konfiguration einer Combobox - will nicht...

thE_iNviNciblE the_invincible at gmx.de
Sun Jan 28 23:38:57 CET 2007


Hi nochmal,
also irgendwie will es nicht.

bei mir ist das "data_typ" Objekt in "Colums" mit ein paar anderen
ändere ich Colums auf "Type"

Optionfeld:
$TCA["tx_etcontactnew_fields"] = array (
    "ctrl" => $TCA["tx_etcontactnew_fields"]["ctrl"],
    "type" => "type",
    "interface" => array (
        "showRecordFieldList" =>
"hidden,title,field_outputname,mandatoryfield,show_output,data_typ,default_value,input_length,output_length"
    ),
    "feInterface" => $TCA["tx_etcontactnew_fields"]["feInterface"],
    "columns" => array (
            ...
            ...
        "data_typ" => Array (       
            "exclude" => 1,   
            "label" =>
"LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ",
 
   
            "config" => Array (
                "eval" => "required",
                "type" => "select",
                "items" => Array (
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.0",
"0"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.1",
"1"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.2",
"2"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.3",
"3"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.4",
"4"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.5",
"5"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.6",
"6"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.7",
"7"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.8",
"8"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.9",
"9"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.10",
"10"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.11",
"11"),
                   
Array("LLL:EXT:et_contact_new/locallang_db.xml:tx_etcontactnew_fields.data_typ.I.12",
"12"),                                                       
                ),
                "size" => 5,   
                "maxitems" => 1,
            )
        ),

    "types"    => array (
        "0" => array("showitem" => "hidden;;1;;1-1-1, title;;;;2-2-2,
field_outputname;;;;3-3-3, data_typ, default_value, input_length,
output_length, mandatoryfield, show_output"),
        "1" => Array("showitem' => 'hidden;;1, data_typ,
default_value, mandatoryfield"),
    ),

es verändert sich nichts, wenn ich die optionbox verändere

ich hab alles so konfiguriert und es klappt nicht...


Gruss
      Jan

thE_iNviNciblE wrote:
> Hallo,
>
> ah ist doch garnich so schwer, werde ich gleich mal ausprobieren
>
>
> 'types' => Array (
>
> '0' => Array('showitem' => 'hidden;;1, type, title,
> test_template'),
>
> '1' => Array('showitem' => 'title, test_template, hidden, type'),
>
> '2' => Array('showitem' => 'type, title'),
>
> '3' => Array('showitem' => 'type;;2'),
>
> ),
>
>
> Danke Niels
>
> Gruss Jan Bludau
>
> Niels Pardon wrote:
>> Hallo Jan,
>>
>> schau mal hier:
>>
http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.0.0/view/4/2/#id2820846
>>
>>
>>
>> MfG,
>>
>> Niels
>>
>>
>> thE_iNviNciblE schrieb:
>>> Hallo Liebe Liste,
>>>
>>> ich würde gerne in erfahrung bringen, wie man innerhalb der
>>> tca.php etwas hinbekommt. Und zwar wenn man sich jetzt eine von
>>>  der tca.php erzeugte Combobox vorstellt und dort eine andere
>>> „Option“ auswählt, das sich die TCEForms seite neu lädt und
>>> dann je nachdem was man in der combobox auswählt neue
>>> eingeabefelder angezeigt bekommen.
>>>
>>> Ähnlich, wenn man jetzt einen neuen Seitencontent anlegt und
>>> dort halt den Typ in der Combobox ändert von  z.B. Text auf
>>> Plugin einfügen baut sich auch eine neue Seite auf mit
>>> jeweiigen eingabefeldern.
>>>
>>> Kann mir jemand helfen und mir erklären wie ich die tca.php
>>> konfigurieren muss?
>>>
>>> Gruss
>>>
>>> Jan Bludau
>>>
>>>
>> _______________________________________________ TYPO3-german
>> mailing list TYPO3-german at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-german
>>
>

-- 
MfG thE_iNviNciblE
-----------------
"Wissen ist Macht" - Sir Francis Bacon (1597)

visit: http://www.tsecurity.de
visit: http://forum.tsecurity.de
visit: http://your-mind-is-free.tsecurity.de



More information about the TYPO3-german mailing list