Thank you. It was very informativ anyway.
But unluckily - after solving this Problem - a new one showed up.
I have a concert-details site with several catalog-frontend-reader-modules but also a catalog-reference-modul.
This reference modul creates a link to the festival in which the concerts is happening. everything working.
Buuuuuuuuuuuut, once I edit a Concert and accidently click the checkbox and save: voila, the reference module in the frontend is loaded pointing to a festival - even though the concert is not part of a festival.
well, this is puzzeling me. how can i get my code working there?
at the moment the template for the reference-module looks like this:
Code:
<?php if (count($this->entries)): ?>
<div class="layout_full">
<?php foreach ($this->entries as $entry): ?>
<div class="item<?php echo $entry['class'] ? ' '.$entry['class'] : ''; ?>">
<div id="link3">
<?php echo $entry['data']['festival_name']['value']; ?>
</div>
<?php foreach ($entry['data'] as $field=>$data): ?>
<?php if (strlen($data['raw']) && !in_array($field, array('catalog_name','parentJumpTo'))): ?>
<div class="field <?php echo $field; ?>">
<div class="label"><?php echo $data['label']; ?></div>
<div class="value"><?php echo $data['value']; ?></div>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
<?php else: ?>
<p class="info">Für diesen Termin ist im Backend kein Veranstalter ausgewählt.</p>
<?php endif; ?>
I tried this already
no success! :-(
do you think you can solve this one?
Bookmarks