Hallo, ich hab zwar auch schon bei Rocksolid dieses Thema gepostet, aber vielleich ist hier auch jemand, der mir helfen kann.
Ich hab eine Liste und in dieser hab ich auch noch eine Liste. Im Backend funktioniert das ganz gut, aber ich kann die 2. Liste nicht ausgeben.
Kann mir hier jemand helfen?
So sieht der PHP-Code aus (nur ein Auszug)
PHP-Code:
'fields' => array(
'webinars' => array(
'label' => array('Webinar', 'Fügen Sie eine beliebige Anzahl an Webinaren ein.'),
'elementLabel' => 'Webinar %s',
'inputType' => 'list',
'fields' => array(
'headline' => array(
'label' => array('Überschrift', ''),
'inputType' => 'text',
),
'image' => array(
'label' => array('Bild', ''),
'inputType' => 'fileTree',
'eval' => array(
'fieldType' => 'radio',
'filesOnly' => true,
'extensions' => 'jpg,jpeg,png,gif,svg',
),
),
'text' => array(
'label' => array('Text', ''),
'inputType' => 'textarea',
'eval' => array('rte' => 'tinyMCE', 'tl_class' => 'wizard clr'),
),
'videos' => array(
'label' => array('Videos', ''),
'elementLabel' => '%s. Video',
'inputType' => 'list',
'fields' => array(
'video' => array(
'label' => array('Videodatei'),
'inputType' => 'url',
),
),
),
Aber jetzt weiß ich nicht, wie ich die einzellen Videos zusätzlich ins FE bekomme. Ich hab schon versucht eine 2. foreach-Schleife zu bauen, aber das funktioniert auch nicht.
Lesezeichen