Zum Inhalt springen

wenn spalte leer inhal von anderer pid einfügen

Erstellt am 17. Mai 2006 · Noch keine Antworten

Tags: Templates & Layouts, Frage

darkdesire ·

Hallo

Also ich möchte das falls eine Spalte ( rechts ) kein Inhalt haben sollte ein bestimmter anderer Inhalt an der Stelle (rechts ) ausgegeben wird oder z.B. auch das automatisch der Inhalt der Spalte rechts von der Home Seite ausgegeben wird / bleibt.Habs mal so versucht , funkts aber nicht:

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/templates/index.html 

workOnSubpart = document
subparts.sub_content.select.orderBy = sorting
subparts.content < styles.content.get
subparts.links < styles.content.getLeft
subparts.rechts < styles.content.getRight

temp.content_right = COA
temp.content_right.10 < styles.content.getRight
temp.content_right.10.stdWrap.ifEmpty.cObject = CONTENT
temp.content_right.10.stdWrap.ifEmpty.cObject.table = tt_content
temp.content_right.10.stdWrap.ifEmpty.cObject.select.pidInList=196
temp.content_right.10.stdWrap.ifEmpty.cObject.select.orderBy = sorting
temp.content_right.10.stdWrap.ifEmpty.cObject.select.where = colPos=2
temp.content_right.10.stdWrap.ifEmpty.cObject.select.languageField = sys_language_uid

subparts.rechts= CONTENT
subparts.rechts < temp.content_right