heimrichhannot/contao-be_explanation

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

This module offers a simple backend explanation form field (inputType).

Package info

github.com/heimrichhannot/contao-be_explanation

Language:CSS

Type:contao-module

pkg:composer/heimrichhannot/contao-be_explanation

Statistics

Installs: 4 529

Dependents: 4

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.7 2017-08-16 12:16 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-3.0+ fd49b6961e808cfc59d6b6593de7f6d48c817592

backenddeveloperfieldcontaoexplanation

This package is auto-updated.

Last update: 2022-02-01 12:57:38 UTC


README

https://github.com/heimrichhannot/contao-be_explanation-bundle

Backend Explanation

This module offers a simple backend explanation form field (inputType).

Technical instructions

Just add the field to some of your data container arrays as follows:

$GLOBALS['TL_DCA']['tl_*']['fields']['myExplanation'] = array
(
 'inputType' => 'explanation',
 'eval' => array(
 'text' => &$GLOBALS['TL_LANG']['tl_*']['myExplanation'], // this is a string, not an array
 'class' => 'tl_info', // all contao message css classes are possible
 'tl_class' => 'long'
 )
);