Hallo alle zusammen,
ich habe mir mal die mod_eventmenu.html5 angesehen. Folgende Zeile erzeugt den Aufruf auf sich selbst:
Code:
<li<?php if ($month['class']): ?> class="<?= $month['class'] ?>"<?php endif; ?>><a href="<?= $this->url ?>month=<?= $month['date'] ?>" title="<?= $month['title'] ?>"><?= $month['link'] ?><?php if ($this->showQuantity): ?> (<?= $month['quantity'] ?>)<?php endif; ?></a></li>
Der Übeltäter ist
Als Ergebnis kommt dort raus: "index.php/jahresliste.html?". Und das ist genau seine eigene Seite.
Ich habe jetzt, da ich mir keinen qualifizierteren Rat wusste, vorher eine Textvariable definiert und jetzt sieht das Ganze so aus
Code:
<?php $myLink = 'index.php/terminliste.html?';?>
<li<?php if ($month['class']): ?> class="<?= $month['class'] ?>"<?php endif; ?>><a href="<?= $myLink ?>month=<?= $month['date'] ?>" title="<?= $month['title'] ?>"><?= $month['link'] ?><?php if ($this->showQuantity): ?> (<?= $month['quantity'] ?>)<?php endif; ?></a></li>
Die Seite "terminliste.html' ist die auf der ein Modul Eventliste ist, mit dazugehörigem Eventleser, Anzeigeformat Monat, Template "Event_upcoming".
Damit läuft alles wie geschmiert. Vielleicht hat einer noch einen Tipp, wie es eleganter geht.
http://www.delphi-download.de/index....hresliste.html
Viele Grüße aus Bredow
Oppa
Lesezeichen