OK. Steh wohl immer noch auf dem Schlauch.
Habe templateinhalt slideshow2:
Code:
<?php
// Add slideshow2 js and css files to head
$GLOBALS['TL_JAVASCRIPT'][] = 'plugins/slideshow2/js/slideshow.js';
if ($this->js_effect) $GLOBALS['TL_JAVASCRIPT'][] = $this->js_effect;
$GLOBALS['TL_CSS'][] = 'plugins/slideshow2/css/slideshow.css';
?>
<div class="<?php echo $this->class; ?> block"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<?php if ($this->headline): ?><<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>><?php endif; ?>
<div id="show_<?php echo $this->id; ?>" class="slideshow">
<?php if ($this->fullsize): ?><a data-lightbox="slideshowlb<?php echo $this->id; ?>" href="<?php echo $this->element['src']; ?>"><?php endif; ?>
<img src="<?php echo $this->element['src']; ?>" width="<?php echo $this->element['img_size'][0]; ?>" height="<?php echo $this->element['img_size'][1]; ?>" alt="<?php echo $this->element['alt']; ?>" />
<?php if ($this->fullsize): ?></a><?php endif; ?>
</div>
</div>
in das prerendered Template gepackt. Dann habe ich den Teil
Code:
<img src="<?php echo $this->element['src']; ?>"
so geändert
Code:
<img src="<?php echo $arrItem['html5']['detailbilder']; ?>"
Nun zeigt er mir die Bilder (attribut detailbilder) an. Leider aber nicht als Slider.
Scheint so als würde auch js und css nicht ausgeführt. Zudem sieht der Quelltext fehlerhaft aus.
Kapier das nicht.
Lesezeichen