Improve backend content element handling.

This commit is contained in:
David Molineus
2015-01-07 11:13:15 +01:00
parent 84ede62132
commit 9e1c8499f2
3 changed files with 60 additions and 1 deletions

View File

@@ -14,8 +14,11 @@ $GLOBALS['TL_DCA']['tl_content']['fields']['leaflet_map'] = array(
'inputType' => 'select',
'exclude' => true,
'options_callback' => array('Netzmacht\Contao\Leaflet\Dca\Content', 'getMaps'),
'wizard' => array(
array('Netzmacht\Contao\Leaflet\Dca\Content', 'getEditMapLink'),
),
'eval' => array(
'tl_class' => 'w50',
'tl_class' => 'w50 wizard',
'chosen' => true,
),
'sql' => "int(10) unsigned NOT NULL default '0'"