Moin,
die Ausgabe einer Newsliste soll wie folgt aussehen:
Code:
<ul>
<li>Item1</li>
<li>Item2</li>
<li>Item3</li>
</ul>
unten aufgelistetes Template erzeugt jedoch ein:
Code:
<ul><li>Item1</li></ul>
<ul><li>Item2</li></ul>
<ul><li>Item3</li></ul>
Code:
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin Template for a single item -->
<ul>
<li>
<strong>###NEWS_TITLE###</strong>
<!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###-->
</li>
</ul>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<!-- ###TEMPLATE_LIST### end -->
Ich habe bisher leider keine Variante gefunden die die Zielausgabe erzeugt, auch folgendes Template nicht, da alles ausserhalb der ###NEWS### Subparts garnicht ausgegeben wird:
Code:
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<ul>
<!-- ###NEWS### begin Template for a single item -->
<li>
<strong>###NEWS_TITLE###</strong>
<!--###LINK_ITEM###-->###MORE###<!--###LINK_ITEM###-->
</li>
<!-- ###NEWS### end-->
</ul>
<!-- ###CONTENT### end -->
<!-- ###TEMPLATE_LIST### end -->
Hat jemand einen Tipp?