Zum Inhalt springen

wie wrappe ich?

Erstellt am 24. März 2009 · 2 Antworten · letzte Antwort am 6. April 2009

Tags: Inhaltselemente, Frage

sputum ·

Hallo!

Ich habe folgendes TS:

lib.boxen < plugin.tx_kbcontslide_pi1
lib.boxen.content.select.where = colPos=4
 
# Substitute the ###boxen### subpart with some example content:
 subparts.boxen < lib.boxen

Das macht nichts anderes, als mir ce aus einer spalte darzustellen! Ich würde jetzt gerne jedes einzelne CE mit einem DIV wrappen, kriegs aber nicht hin! Wer kann mir helfen?

kajra ·

probier mal

lib.boxen < plugin.tx_kbcontslide_pi1
lib.boxen = COA
lib.boxen.wrap = <div class="test"> | </div>
sputum ·

Hallo!

Danke, so ähnlich habe ich es dann gelöst:

#Boxeninhalte auslesen, sliden und collecten
lib.boxen = CONTENT
lib.boxen {
	renderObj {
	stdWrap.wrap = <div class="t"><div class="b"><div class="l"><div class="r"><div class="bl"><div class="br"><div class="tl"><div class="tr"><div class="inhalt">|</div></div></div></div></div></div></div></div></div>
	}
	table = tt_content
	slide = -1
	slide {
		collect = -1
		collectReverse = 1
		}
	select {
	where = colPos=4
	orderBy = sorting
	languageField = sys_language_uid
	}
}