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>|*|>|>|*|>|> } |
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