Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heimrichhannot/contao-field_value_copier
https://github.com/heimrichhannot/contao-field_value_copier
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/heimrichhannot/contao-field_value_copier
- Owner: heimrichhannot
- Created: 2016-12-13T11:50:29.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-27T12:42:16.000Z (over 7 years ago)
- Last Synced: 2024-04-04T11:20:44.455Z (9 months ago)
- Language: PHP
- Size: 31.3 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Contao Field Value Copier
This simple module offers an input type for showing a giving the user the opportunity to copy a certain field value from another record. This is useful for fields that are very complex to configure.
![alt text](./docs/screenshot.png "Demo in the backend")
## Features
### Technical instructions
Use the inputType "fieldValueCopier" for your field.
```
'someField' => array(
// no label necessary
'inputType' => 'fieldValueCopier',
'eval' => array(
'fieldValueCopier' => array(
'table' => 'tl_my_dca',
'field' => 'myField',
'options_callback' => array('Namespace\SomeClass', 'getOptions')
)
)
)
```