heimrichhannot/contao-multi_column_editor
最新稳定版本:1.4.6
Composer 安装命令:
composer require heimrichhannot/contao-multi_column_editor
包简介
This module offers an input type for editing one or more records in frontend and backend.
README 文档
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.
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"
),
统计信息
- 总下载量: 8.81k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2016-12-12
