PHP-Code:
<?php
return [
'label' => ['TwoTemplates','Erstellt Teaser und Content'],
'types' => ['content','module'],
'contentCategory' => 'WERBEpanorama',
'standardFields' => ['cssID'],
'fields' => [
[
'inputType' => 'group',
'label' => [
'de' => ['Teaser',''],
],
],
'teaserurl' => [
'label' => ['Teaser-Seite','Wählen Sie aus, wo der Teaser ausgegeben werden soll.'],
'inputType' => 'url',
'eval' => [
'tl_class' => 'w50',
],
],
'teasertext' => [
'label' => ['Teaser-Text','Geben Sie den Teaser-Text ein.'],
'inputType' => 'text',
'eval' => [
'tl_class' => 'clr',
],
],
[
'inputType' => 'group',
'label' => [
'de' => ['Inhalt',''],
],
],
'contenturl' => [
'label' => ['Content-Seite','Wählen Sie aus, wo die Felder des Inhaltes ausgegeben werden soll.'],
'inputType' => 'url',
'eval' => [
'tl_class' => 'clr w50',
],
],
'contenttextone' => [
'label' => ['Content EINS','Geben Sie den Content ein.'],
'inputType' => 'text',
'eval' => [
'tl_class' => 'clr',
],
],
'contenttexttwo' => [
'label' => ['Content ZWEI','Geben Sie den Content ein.'],
'inputType' => 'text',
'eval' => [
'tl_class' => 'clr',
],
],
],
];
und das Template dazu:
Lesezeichen