heimrichhannot/contao-multi_column_editor

This package is abandoned and no longer maintained. The author suggests using the heimrichhannot/contao-multi-column-editor-bundle package instead.

This module offers an input type for editing one or more records in frontend and backend.

Package info

github.com/heimrichhannot/contao-multi_column_editor

Type:contao-module

pkg:composer/heimrichhannot/contao-multi_column_editor

Statistics

Installs: 8 823

Dependents: 7

Suggesters: 0

Stars: 0

Open Issues: 0

1.4.6 2018-09-18 08:49 UTC

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-3.0-or-later ced0ab99b309d7cfb5d5ecb8245e30511ab704b1

wizardeditormultieditcontaocolumn


README

This module offers an input type for editing one or more records in backend and frontend.

The module is similar to menatwork/MultiColumnWizard but works in frontend as well (in combination with the form generator module heimrichhannot/contao-formhybrid.

👁 Demo in the backend

Features

Technical instructions

Use the inputType "multiColumnEditor" for your field.

'someField' => array(
 'label' => &$GLOBALS['TL_LANG']['tl_my_table']['someField'],
 'inputType' => 'multiColumnEditor',
 'eval' => array(
 'multiColumnEditor' => array(
 // set to true if the rows should be sortable (backend only atm)
 'sortable' => false,
 'class' => 'some-class',
 // set to 0 if it should also be possible to have *no* row (default: 1)
 'minRowCount' => 2,
 // set to 0 if an infinite number of rows should be possible (default: 0)
 'maxRowCount' => 5,
 // defaults to false
 'skipCopyValuesOnAdd' => false,
 'fields' => array(
 // place your fields here as you would normally in your DCA
 // (sql is not required)
 'field1' => [
 	'label' => 'field 1'
 	'inputType' => 'text',
 	'eval' => ['groupStyle' => 'width:150px']
 ]
 )
 )
 ),
 'sql' => "blob NULL"
),