Einzelnen Beitrag anzeigen
  #1  
Alt 08.03.08, 15:19
Benutzerbild von mstuebner
mstuebner mstuebner ist offline
TYPO3 Forum Team
Moderator
 
Registriert seit: 01.09.04
Ort: 84424 Isen b. Dorfen
Alter: 41
Beiträge: 2.248
mstuebner eine Nachricht über Skype™ schicken

EIN <ul> um ALLE Elemente der LIST Ausgabe


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?
__________________
mfg Matthias

TYPO3-Consultant -- TYPO3 Entwicklung
Mit Zitat antworten