Hallo Community,
Ich steh total auf dem Schlauch. Ich teste grad mit der Katalog Extension rum. Ich möchte nun im die ID des Katalogeintrages ausgeben und in einen Inserttag einbauen. Nur wie spreche ich die ID des Eintrages an?
Gruss
typo-user
Ich steh total auf dem Schlauch. Ich teste grad mit der Katalog Extension rum. Ich möchte nun im die ID des Katalogeintrages ausgeben und in einen Inserttag einbauen. Nur wie spreche ich die ID des Eintrages an?
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'] : ''; ?>">
<?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="value"><?php echo $data['value']; ?></div>
</div>
<?php endif; ?>
<?php endforeach; ?>
{{file::file.php?id=[B][COLOR="Red"]XXX[/COLOR][/B]}}
</div>
<?php endforeach; ?>
</div>
<?php else: ?>
<p class="info">Invalid item reference for catalog.</p>
<?php endif; ?>
typo-user

Kommentar