Hallo fiedsch,
danke für den schnellen Tipp, aber ich kriege es nicht hin, meine php-Kenntnisse tendieren gegen null. 'row as col', 'jump to' und 'detailsColumn' und 'url' geht alles durcheinander. Hast Du oder jmd. anders noch einen weiteren Tipp? Hier die Liste aus der memberlist_simple:
PHP-Code:
<table cellpadding="0" cellspacing="0" class="all_records" summary="">
<thead>
<tr>
<?php foreach ($this->thead as $col): ?>
<th class="head<?php echo $col['class']; ?>"><a href="<?php echo $col['href']; ?>" title="<?php echo $col['title']; ?>"><?php echo $col['link']; ?></a></th>
<?php endforeach; ?>
<?php if ($this->showDetailsColumn): ?>
<th class="head col_last"> </th>
<?php endif; ?>
</tr>
</thead>
<tbody>
<?php foreach ($this->tbody as $class=>$row): ?>
<tr class="<?php echo $class; ?>">
<?php foreach ($row as $col): ?>
<?php if (strlen($col['jumpTo']) && (strcmp($this->detailsColumn, $col['field']) == 0)): ?>
<td class="body <?php echo $col['class']; ?>"><a href="<?php echo $col['jumpTo']; ?>"><?php echo $col['content']; ?></a></td>
<?php elseif (strcmp($this->detailsColumn, $col['field']) == 0): ?>
<td class="body <?php echo $col['class']; ?>"><a href="<?php echo $this->url; ?>?show=<?php echo $col['id']; ?>"><?php echo $col['content']; ?></a></td>
<?php else: ?>
<td class="body <?php echo $col['class']; ?>"><?php echo $col['content']; ?></td>
<?php endif; ?>
<?php endforeach; ?>
<?php if ($this->showDetailsColumn): ?>
<td class="body <?php echo $this->col_last; ?> col_last">
<?php if (strlen($col['jumpTo'])): ?>
<a href="<?php echo $col['jumpTo']; ?>"><img src="system/modules/xtmembers/assets/details.gif" alt="" /></a>
<?php else: ?>
<a href="<?php echo $this->url; ?>?show=<?php echo $col['id']; ?>"><img src="system/modules/xtmembers/assets/details.gif" alt="" /></a>
<?php endif; ?>
</td>
<?php endif; ?>
</tr>
<?php endforeach; ?>
</tbody>
</table>
Danke!