Hi,

A. Sauder schrieb:
> Nun möchte ich aber, das wenn ich in das Formular wechsle in einem
> solchen Record, ich dort
> ein Pulldown-Menü zur Verfügung habe, welches Werte aus einer anderen
> Tabelle ausliesst.

Das geht (in der tca.php) in etwa so:

'categories' => array(
        'exclude' => 1,
        'label' =>
'LLL:EXT:seminars/locallang_db.xml:tx_seminars_seminars.categories',
        'config' => array(
                'type' => 'select',
                'internal_type' => 'db',
                'allowed' => 'tx_seminars_categories',
                'foreign_table' => 'tx_seminars_categories',
                'foreign_table_where' => tx_seminars_tableRelations(
                        'tx_seminars_categories'
                ),
                'size' => 10,
                'minitems' => 0,
                'maxitems' => 999,
                'MM' => 'tx_seminars_seminars_categories_mm',
        ),
),



Oliver
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an