Geht eigentlich in dem template um $field['content'] kann ich das so direkt ins template einfügen wie auf github beschrieben? Oder gibts da ne einfachere Lösung?
PHP-Code:
<div class="<?php echo $this->class; ?> listing 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; ?>
<?php foreach ($this->listItems as $item => $fields): $intField = -1; ?>
<?php foreach ($fields as $field): $intField++; ?>
<?php if ($intField == 0): ?>
<div class="record <?php echo $field['record_class']; ?>">
<?php endif; ?>
<?php if ($field['content'] != ''): ?>
<div class="field <?php echo $field['name']; ?>">
<?php echo $field['content']; ?>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
<?php endforeach; ?>
</div>
Lesezeichen