Ich habe im DCA das folgende Feld definiert:
PHP-Code:
'category' => array (
'label' => &$GLOBALS ['TL_LANG'] ['tl_company'] ['category'],
'exclude' => true,
'inputType' => 'checkbox',
'filter' => true,
'foreignKey' => 'tl_company_category.title',
'eval' => array (
'mandatory' => true,
'tl_class' => 'w50',
'multiple' => true
),
'sql' => "blob NULL",
'relation' => array('type'=>'hasMany', 'load' => 'eagerly')
)
Wie kann ich im Frontend jetzt Datensätze anhand des Felder filtern? Bzw. kennt jemand eine Erweiterung die so etwas macht?
Viele Grüße,
Wusch
Lesezeichen