Custom Elements und MulitColumnWizard
Hallo Community,
ich bin auf der Suche nach einer Anleitung, wie man die RSCE mit dem MCW kombinieren kann.
Meine bisherigen Versuchen funktionieren nicht. Hat jemand einen Tipp für mich?
PHP-Code:
return array(
'label' => array('Fragebogen', 'Erzeugt einen Fragenbogen mit Ja / Nein Prinzip'),
'types' => array('content'),
'contentCategory' => 'MYProject',
'standardFields' => array('cssID'),
'fields' => array(
'generalSettings' => array(
'label' => array('Allgemeine Einstellungen'),
'inputType' => 'group',
),
'headline' => array(
'inputType' => 'standardField',
),
'globalSettings' => array(
'label' => array('Globale Einstellungen'),
'inputType' => 'group',
),
'globalSuccess' => array(
'label' => array('Globales Ziel','Legen Sie das zu erreichende globale Ziel fest.'),
'inputType' => 'textarea',
'eval' => array('rte' => 'tinyMCE' ,'tl_class'=>'w50', 'mandatory' => true)
),
'globalEnd' => array(
'label' => array('Globales Ende','Legen Sie ein globales Ende fest.'),
'inputType' => 'textarea',
'eval' => array('rte' => 'tinyMCE' ,'tl_class'=>'w50', 'mandatory' => true)
),
'questions' => array(
'label' => array('Fragen', 'Verwalten Sie die Fagen'),
'elementLabel' => '%s. Frage',
'inputType' => 'list',
'minItems' => 1,
'fields' => array(
'question' =>array(
'label' => array('Frage','Geben Sie die Frage ein.'),
'inputType' => 'text',
'eval' => array('mandatory' => true, 'tl_class'=>'w50 clr')
),
'qSettings' => array(
'label' => 'Eigenschaften',
'exclude' => true,
'inputType' => 'multiColumnWizard',
'eval' => [
'columnFields' => [
'qe_response' => [
'label' => 'Antwort',
'exclude' => true,
'inputType' => 'text',
'eval' => [
'style' => 'width:250px'
],
],
'qe_options' => [
'label' => 'Ziel',
'exclude' => true,
'inputType' => 'select',
'eval' => [ 'style' => 'width:180px' ],
'options' => [
'globalSuccess' => 'Globales Ziel',
'globalEnd' => 'Globales Ende',
'nextQuestion' => 'Nächste Frage',
],
],
],
],
)
)
)
)
);
Bin für jeden Tipp dankbar.
Grüße
Liste der Anhänge anzeigen (Anzahl: 1)
Zitat:
Zitat von
zonky
sieht erstmal ganz o.k. aus... was für Fehlermeldungen kommen den?
Keine Fehlermeldung, es wird im Backend nichts angezeigt.
Zitat:
Zitat von
zonky
Ist der MCW auch installiert? selbst oder durch andere Erweiterung
Contao: 4.12.7
MCW: 3.5.2
Ansicht Backend:
Anhang 25478