Einzelnen Beitrag anzeigen
  #1  
Alt 16.05.06, 21:01
darkdesire darkdesire ist offline
Forum Newbie
 
Registriert seit: 15.04.06
Beiträge: 49

wenn spalte leer anderer inhalt anzeigen


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:


Code:
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

page.10.marks.rechts.10= CONTENT
page.10.marks.rechts.10 < temp.content_right
$


Vielen Dank im voraus für jede Hilfe
Mit Zitat antworten