Einzelnen Beitrag anzeigen
  #1  
Alt 10.01.07, 09:16
yonthebeach yonthebeach ist offline
Forum Zuschauer
 
Registriert seit: 26.03.06
Ort: Aachen
Alter: 30
Beiträge: 8
yonthebeach eine Nachricht über MSN schicken
optionsplit und allwrap probleme

Hallo ich habe folgenden Ausgabe:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
SUBCONTENT = COA
SUBCONTENT {
10 = CONTENT
10 {
table = tt_content
select {
where = colPos = 2
orderBy = sorting
languageField = sys_language_uid
}

renderObj < tt_content.header
renderObj.stdWrap.wrap (
          <div class="no">|</div>
)
renderObj.stdWrap.required = 1

renderObj < tt_content.bodytext - ERROR: Line 17: Object copied in this line "renderObj < tt_content.bodytext" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you.
renderObj.stdWrap.wrap (
          <div class="body">|</div><div class="footer"></div>
)
renderObj.stdWrap.required = 1
}

allWrap = <span class="asd">|</span>|*|&gt;|&gt;|*|&gt;|&gt;

}

Das funktioniert auch fast, aber das allWrap funktioniert nicht! Ich möchte das das erste Elemente die Klasse=first bekommt, die weiteren die klasse=middle und das letzte die klasse= last. Was mache ich falsch?

gruß
yavuz
__________________
www.bogazci.com
Mit Zitat antworten