Hallo,
ich habe zwei "kleine" Problem mit einem selbst erstellten Template.
1) Ich wollte ein Bild ausgeben lassen, später sollte das Bild mit einem Link zu einer pdf-Datei verbunden werden (Ausgabe fehlt noch). Ich scheitere aber bereits am Bild, dass nicht mehr ausgegeben wird.
2) Sporadisch habe ich auch mal die Fehlermeldungerhalten.Zitat:
Template not found (it is maybe within a unreachable theme folder?).
Kann mir jemand einen Tipp geben, vielleicht hilft der unten angehängte Quelltext.
Vielen Dank
Stefan
Code:<?php if (count($this->data)): /* display only if there is data. */ ?>
<div class="layout_full">
<?php foreach ($this->data as $arrItem): /* loop over all items. */ ?>
<div class="item <?php echo $arrItem['class']; ?>">
<div class="content">
<div class="field_profilfoto">
<span class="label"><?php echo $arrItem['attributes']['profilfoto']; ?></span>
<span class="value"><?php echo $arrItem['html5']['profilfoto']; ?></span>
</div>
<div class="field_vorname_nachname">
<span class="value"><?php echo $arrItem['text']['vorname']; ?><?php echo $arrItem['text']['nachname']; ?></span>
</div>
</div>
<div class="clear"></div>
</div>
<?php if ($arrItem['jumpTo']): ?><a href="<?php echo $arrItem['jumpTo']['url']; ?>">Zurück zur Liste</a><?php endif; ?>
<?php endforeach; /* item loop */ ?>
</div>
<?php else: /* no items found */ ?><p class="info"><?php echo $this->noItemsMsg; ?></p>
<?php endif; ?>