Zitat von
xchs
@jl001:
Bitte im Backend-Modul "Einstellungen" die Option "Fehlermeldungen anzeigen" aktivieren.
Servus xhs!
Habe ich jetzt mal gemacht. Die Antwort lautet: Fatal error: Cannot use object of type stdClass as array in /home/www/foto/system/modules/gallery/templates/gallery_default.tpl on line 18
Die Gallery-Default sieht dann wie folgt aus:
Code:
<div class="layout_default block<?php echo $this->class; ?>">
<?php if ($this->title): ?>
<div class="title"><?php echo $this->title; ?></div>
<?php endif; ?>
<?php if ($this->date): ?>
<div class="date"><?php echo $this->date; ?></div>
<?php endif; ?>
<?php if ($this->description): ?>
<div class="description"><?php echo $this->description; ?></div>
<?php endif; ?>
<table cellspacing="0" cellpadding="0" summary="Image gallery">
<tbody><?php foreach ($this->body as $class=>$row): ?>
<tr class="<?php echo $class; ?>"><?php foreach ($row as $col): if ($col['hasImage']): ?>
<td class="<?php echo $col['class']; ?>" style="width:<?php echo $col['colWidth']; ?>;"><div class="image_container"<?php if ($col['margin']): ?> style="<?php echo $col['margin']; ?>"<?php endif; ?>><?php if ($col['link']): ?><a href="<?php echo $col['link']; ?>" title="<?php echo $col['alt']; ?>"><?php endif; ?><img src="<?php echo $col['src']; ?>"<?php echo $col['imgSize']; ?> alt="<?php echo $col['alt']; ?>" /><?php if ($col['link']): ?></a><?php endif; if ($col['caption']): ?><div class="caption"><?php echo $col['caption']; ?></div><?php endif; ?></div></td><?php else: ?>
<td class="<?php echo $col['class']; ?> empty"> </td><?php endif; endforeach; ?>
</tr><?php endforeach; ?>
</tbody>
</table>
<?php echo $this->pagination; ?>
</div>
Leider sagt mir das nicht all zu viel. Suaheli dürfte ich einfacher verstehen....
Danke schonmal für eine Antwort..
Es grüßt
Jürgen
Lesezeichen