/*------------------------------------*\ Config \*------------------------------------*/ // rsce_zimmer-detail-box_config.php return array( 'label' => array('Zimmer-Details', 'Erzeugt ein Texte und Bildslider'), 'types' => array('content'), 'contentCategory' => 'texts', 'fields' => array( 'zimmername' => array( 'label' => array('Zimmername', ''), 'eval' => array(), 'inputType' => 'text', ), 'zimmertext_1' => array( 'label' => array('Zimmertext 1', ''), 'eval' => array('rte' => 'tinyMCE'), 'inputType' => 'textarea', ), 'zimmerpreis' => array( 'label' => array('Zimmerpreis', ''), 'eval' => array(), 'inputType' => 'text', ), 'zimmertext_2' => array( 'label' => array('Zimmertext 2', ''), 'eval' => array('rte' => 'tinyMCE'), 'inputType' => 'textarea', ), 'images' => array( 'label' => array('Bilder', ''), 'multiple' => true, 'elementLabel' => '%s. Bild', 'inputType' => 'list', 'minItems' => 1, 'maxItems' => 5, 'fields' => array( 'image' => array( 'label' => array('Bild', ''), 'eval' => array( 'fieldType' => 'radio', 'filesOnly' => true, 'extensions' => 'jpg,jpeg,png,gif,svg', ), 'inputType' => 'fileTree', ), 'size' => array( 'label' => array('Bildbreite und Bildhöhe', ''), 'inputType' => 'imageSize', 'options' => \System::getImageSizes(), 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array( 'rgxp' => 'digit', 'includeBlankOption' => true, ), ), 'imagetitle' => array( 'label' => array('Bild-Title', ''), 'eval' => array(), 'inputType' => 'text', ), ), ), 'link_text' => array( 'label' => array('Link-Text', ''), 'eval' => array(), 'inputType' => 'text', ), 'link_url' => array( 'label' => array('Link-Url', ''), 'eval' => array(), 'inputType' => 'url', ), 'customclass' => array( 'label' => array('Customclass', ''), 'eval' => array(), 'inputType' => 'text', ), ), ); /*------------------------------------*\ Markup \*------------------------------------*/

zimmername ?>

zimmertext_1 ?>
ab € zimmerpreis ?> pro Person/Übernachtung
images as $image): ?>
getImageObject($image->image, $this->size)): ?> insert('picture_default', $image->picture) ?>
zimmertext_2 ?>