menatwork / contao-multicolumnwizard
MultiColumWizard for Contao OpenSource CMS
Installs: 236 875
Dependents: 98
Suggesters: 0
Security: 0
Stars: 29
Watchers: 12
Forks: 31
Open Issues: 15
Type:contao-module
Requires
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ~3.5 || ~4.1
Replaces
- contao-legacy/multicolumnwizard: *
- dev-master / 3.3.x-dev
- 3.3.17
- 3.3.16
- 3.3.15
- 3.3.14
- 3.3.13
- 3.3.12
- 3.3.11
- 3.3.10
- 3.3.9
- 3.3.8
- 3.3.7
- 3.3.6
- 3.3.5
- 3.3.4
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.3
- 3.2.3.rc1
- 3.2.2
- 3.2.1
- 3.2.0
- 3.2.0.rc5
- 3.2.0.rc4
- 3.2.0.rc3
- 3.2.0.rc2
- 3.2.0.rc1
- 3.2.0.beta2
- 3.2.0.beta1
- 3.1.0
- 3.1.0.rc1
- dev-hotfix/add_abandoned
- dev-develop
- dev-hotfix/3.3.17
This package is auto-updated.
Last update: 2020-10-30 16:43:29 UTC
README
At Contao 4 use the MCW bundle - see https://github.com/menatwork/contao-multicolumnwizard-bundle
Usage with columnFields
<?php $GLOBALS['TL_DCA']['tl_theme']['fields']['templateSelection'] = [ 'label' => &$GLOBALS['TL_LANG']['tl_theme']['templateSelection'], 'exclude' => true, 'inputType' => 'multiColumnWizard', 'eval' => [ 'columnFields' => [ 'ts_client_os' => [ 'label' => &$GLOBALS['TL_LANG']['tl_theme']['ts_client_os'], 'exclude' => true, 'inputType' => 'select', 'eval' => [ 'style' => 'width:250px', 'includeBlankOption' => true, ], 'options' => [ 'option1' => 'Option 1', 'option2' => 'Option 2', ], ], 'ts_client_browser' => [ 'label' => &$GLOBALS['TL_LANG']['tl_theme']['ts_client_browser'], 'exclude' => true, 'inputType' => 'text', 'eval' => [ 'style' => 'width:180px' ], ], ], ], 'sql' => 'blob NULL', ]; ?>
Usage with callback
<?php $GLOBALS['TL_DCA']['tl_table']['fields']['anything'] = [ 'label' => &$GLOBALS['TL_LANG']['tl_table']['anything'], 'exclude' => true, 'inputType' => 'multiColumnWizard', 'eval' => [ 'mandatory' => true, 'columnsCallback' => [ 'Class', 'Method' ], ], 'sql' => 'blob NULL', ]; ?>
Usage with Drag and Drop
<?php $GLOBALS['TL_DCA']['tl_theme']['fields']['templateSelection'] = [ 'label' => &$GLOBALS['TL_LANG']['tl_theme']['templateSelection'], 'exclude' => true, 'inputType' => 'multiColumnWizard', 'eval' => [ // add this line for a new button 'dragAndDrop' => true, 'columnFields' => [ 'ts_client_browser' => [ 'label' => &$GLOBALS['TL_LANG']['tl_theme']['ts_client_browser'], 'exclude' => true, 'inputType' => 'text', 'eval' => [ 'style' => 'width:180px' ], ], ], ], 'sql' => 'blob NULL', ]; ?>
More information
More information can be found in the contao wiki http://de.contaowiki.org/MultiColumnWizard