Hallo,
ich versuche einen Download Bereich für meine Mitglieder anzuzeigen und habe dazu das Template "ce_downloads_box.html5" benutzt.
Das funktioniert soweit sehr gut, nur habe ich ein Problem, wenn ich in meinem Home-Verzeichnis auch Unterordner angelegt habe in denen erst die Dateien stecken. Ich würde auch gerne die Unterordner inkl. der darin enthaltenen Dateien anzeigen wollen.
Gibt es dazu eine einfache Modifikation oder Einstellung?
Gefunden habe ich nur den Inhalt des Templates:
CODE
--------------------
<div class="ce_downloads_box block <?php echo $this->class; ?>"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<div class="ce_downloads_box_inside">
<?php $this->block('content'); ?>
<?php if ($this->headline): ?><<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>><?php endif; ?>
<ul>
<?php foreach ($this->files as $file): ?>
<li><?= Image::getHtml($file['icon'], '', 'class="mime_icon"') ?> <a href="<?= $file['href'] ?>" title="<?= $file['title'] ?>"><?= $file['link'] ?> <span class="size">(<?= $file['filesize'] ?>)</span></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php $this->endblock(); ?>
--------------------
Freue mich über hilfreiche Anregungen
VG
Jack
ich versuche einen Download Bereich für meine Mitglieder anzuzeigen und habe dazu das Template "ce_downloads_box.html5" benutzt.
Das funktioniert soweit sehr gut, nur habe ich ein Problem, wenn ich in meinem Home-Verzeichnis auch Unterordner angelegt habe in denen erst die Dateien stecken. Ich würde auch gerne die Unterordner inkl. der darin enthaltenen Dateien anzeigen wollen.
Gibt es dazu eine einfache Modifikation oder Einstellung?
Gefunden habe ich nur den Inhalt des Templates:
CODE
--------------------
<div class="ce_downloads_box block <?php echo $this->class; ?>"<?php echo $this->cssID; ?><?php if ($this->style): ?> style="<?php echo $this->style; ?>"<?php endif; ?>>
<div class="ce_downloads_box_inside">
<?php $this->block('content'); ?>
<?php if ($this->headline): ?><<?php echo $this->hl; ?>><?php echo $this->headline; ?></<?php echo $this->hl; ?>><?php endif; ?>
<ul>
<?php foreach ($this->files as $file): ?>
<li><?= Image::getHtml($file['icon'], '', 'class="mime_icon"') ?> <a href="<?= $file['href'] ?>" title="<?= $file['title'] ?>"><?= $file['link'] ?> <span class="size">(<?= $file['filesize'] ?>)</span></a></li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php $this->endblock(); ?>
--------------------
Freue mich über hilfreiche Anregungen
VG
Jack