Zum Inhalt springen

ein feld aus tt_content darstellen

Erstellt am 17. März 2006 · Noch keine Antworten

Tags: Frage

Averlon ·

Hallo Fachleute (ich bin keiner),

ich würde gerne nur ein Feld aus tt_content (image) in einem Platzhalter darstellen.

Bis jetzt ist mir das nicht gelungen. Ist sicherlich sehr einfach - aber eben nur für den der weiss wie es geht.

Hat jemand einen Tip?

Danke
Karl-Heinz

# linker Seitenrand

left=PAGE 
left {
 typeNum=6
 bodyTag=<body bgcolor="#007d7d" topmargin="0" leftmargin="0">
 stylesheet=fileadmin/style.css
 10 = TEMPLATE
 10 {
  template = FILE
  template.file = fileadmin/vorlage_left.htm
  workOnSubpart=DOKUMENT

  marks {  
  # das linke Menü erstellen
   MENUL=HMENU
   MENUL {
    wrap=<img src="fileadmin/images/linie_weiss.gif" width="145" height="1" alt="" /><br />|
    special=directory
    special.value=10
    entryLevel=1
    1=GMENU
    1.expAll=1
    1.NO=1
    1.NO {
     XY=145,25
     backColor=#FF8200
     wrap=|<br />

     # Text auf den Menüpunkt rendern
     10=TEXT
     10.text.field=title
     10.fontColor=#FFFFFF
     10.fontFile=fileadmin/fonts/arial.ttf
     10.fontSize=10
     10.offset=4,16
     10.wrap=<br />|</br>

     # Eine weisse Linie erzeugen
     20=IMAGE
     20.file=GIFBUILDER
     20.file {
      XY=145,1
      backColor=#FFFFFF
     }
     20.offset=0,24
    }
    1.RO < .1.NO
    1.RO.backColor=#007d7d

    # Die 2. Ebene beschreiben
    2 < .1
#    2.expAll=1
    2.NO {
     backColor=#FF6600
     10.fontColor=#FFFFFF
     10.fontSize=9
     10.offset=12,16
    }
    2.RO < .2.NO
    2.RO.backColor=#007d7d
   }
   # Sponsoren darstellen
   SPONSORS = CONTENT    ###### hier soll es geschehen. Jetzt wird aber der ganze inhalt dargestellt und nicht nur das eine Feld.
Alternativ könnte ich mir auch vorstellen ein bestimmtes Feld (title) auszublenden. Das stört mich nämlich in der Darstellung.
   SPONSORS {
    table=tt_content
    select.orderBy=sorting
    select.where=colPos=0
    select.pidInList=58
   }
  }
 }
}