Hallo zusammen,
ich würde gern in der Memberlist neben dem Icon für die Detailseite ein Icon mit Link auf die E-Mailadresse des Mitglieds ausgeben.
Ist das möglich, ohne eine zusätzliche Spalte in der Tabelle ausgeben zu müssen? Wie würde das gehen?
Der Code des Templates memberlist_simple sieht derzeit so aus:
Würde mich riesig über Eure Hilfe freuen.HTML-Code:<table cellpadding="0" cellspacing="0" class="all_records sortable" 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 details">[nbsp]</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']; ?>"> <?php echo $col['content']; ?> </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/html/details.gif" alt="" /></a> <?php else: ?> <a href="<?php echo $this->url; ?>?show=<?php echo $col['id']; ?>"><img src="system/modules/xtmembers/html/details.gif" alt="Details" /></a> <?php endif; ?> </td> <?php endif; ?> </tr> <?php endforeach; ?> </tbody> </table>

Zitieren