Hallo, danke dir - ich habe das probiert, leider bekomme ich es nicht hin - das hier:
PHP-Code:
$GLOBALS['TL_DCA']['tl_page']['fields']['mainmodule'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_page']['mainmodule'],
'exclude' => true,
'inputType' => 'select',
'options_callback' => array('tl_content', 'getModules'),
'eval' => array('mandatory'=>true, 'chosen'=>true, 'submitOnChange'=>true, 'tl_class'=>'w50 wizard'),
'wizard' => array
(
array('tl_content', 'editModule')
),
'sql' => "int(10) unsigned NOT NULL default '0'"
);
Sorgt für:
HTML-Code:
Warning: in_array() expects parameter 2 to be array, null given in /www/[...]/vendor/contao/core-bundle/src/Resources/contao/library/Contao/System.php on line 164
Hast du eine Idee?
Lesezeichen