Zum Inhalt springen

Inhalt bei einem Marker ausgeben

Erstellt am 13. August 2007 · 3 Antworten · letzte Antwort am 13. August 2007

Tags: Frage

doppel sechser ·

Hallo alle zusammen,

bin ganz neu dabei und lerne mich gerade durch das Grundlagenwissen Typo3 von Robert Meyer. Auf Seite 130 stoße ich an folgendes Problem. Ich will einen Inhalt an einem Marker ausgeben. Ich bin der Meinung, dass ich bis hierhin (fast?) alles richtig gemacht habe, aber der Inhalt wird nicht angezeigt. Wichtig scheint zu sein, dass dass sich der Abschnitt

CONTENT = CONTENT
      CONTENT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 0
      }

innerhalb der geschweiften Klammer von "seite.10.marks" befinden muss. Ich bin der Meinung dass ich das beachtet habe, aber leider wird nichts angezeigt. Kann mir jemand auf die Sprünge helfen?

Danke. Ralf

seite = PAGE
seite {
  typeNum = 0
  bodyTag = <body bgColor = "#DDDDDD">
  stylesheet = fileadmin/style.css
  meta.Author = Hinz und Kunz
  meta.DESCRIPTION = Hier steht eine Beschreibung von Hinz und Kunz
  
  10 = TEMPLATE
  10.template = FILE
  10.template.file = fileadmin/vorlage.html
  10.workOnSubpart = DOKUMENT
  10.marks {
    TRAILER = IMAGE
    TRAILER.file = GIFBUILDER
    TRAILER.file {
      XY = 559,86
      backColor = #82BC8B
      10 = TEXT
      10.text.field = subtitle // title
      10.fontSize = 60
      10.fontFile = fieadmin/fonts/arialbi.ttf
      10.fontColor = #96CC9f
      10.niceText = 1
      10.offset = 10, 75
      
      20 = TEXT
      20.text.field = subtitle // title
      20.fontSize = 36
      20.fontFile = fileadmin/fonts/arialbd.ttf
      20.fontColor = #E2F5E5
      20.niceText = 1
      20.offset = 20, 68
      }
      
      CONTENT = CONTENT
      CONTENT {
      table = tt_content
      select.orderBy = sorting
      select.where = colPos = 0
      }   
    
    MENU_OBEN = HMENU
    MENU_OBEN.special = directory
    MENU_OBEN.special.value = 8
    MENU_OBEN.1 = TMENU
    MENU_OBEN.1.NO = 1
    MENU_OBEN.1.NO.ATagParams = class="linkWeiss"
    MENU_OBEN.1.NO.linkWrap = &nbsp;|&nbsp;&#124; |*| &nbsp;|&nbsp;&#124; |*| &nbsp;
    
    MENU_LINKS = HMENU
    MENU_LINKS.special = directory
    MENU_LINKS.special.value = 9
    MENU_LINKS.entryLevel = 1
    MENU_LINKS.1 = GMENU
    MENU_LINKS.1.NO = 1
    MENU_LINKS.1.NO {
      wrap = |<br>
      XY = 146, 30
      backColor = #478951
      
      10 = TEXT
      10.text.field = title
      10.fontColor = #FFFFFF
      10.fontFile = fileadmin/fonts/arialbd.ttf
      10.fontSize = 12
      10.niceText = 1
      10.offset = 7,21
      
      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
        XY = 146,1
        backColor = #FFFFFF
      }
      20.offset = 0, 29  
    }
    MENU_LINKS.1.RO < .MENU_LINKS.1.NO
    MENU_LINKS.1.RO {
      tmp < .backColor
      backColor = #82BC8B
      5 < .10
      5.fontColor < .tmp
      5.offset = 9,23
      }
    MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
    MENU_LINKS.2 < .MENU_LINKS.1
    MENU_LINKS.2 {
      NO.backColor = #E2F5E5
      NO.10.fontColor = #478951
      NO.20.file.backColor = #478951
      RO < .NO
      RO.backColor = #FFFFFF
      RO.5 >
      CUR < .RO
      } 
  }  
}
doppel sechser ·

Hallo brokemeister und wunschtacho,

danke für die schnelle Antwort. Ich habe contend(default) eingebunden.

Aber wie auch immer, seitdem ich 2-3 weitere Seiten mit Inhalten gefüllt habe, werden diese Inhalte korrekt am Marker angezeigt. Auch die Seite welche vorher keine Inhalte angezeigt hat. Ich verstehe es leider nicht warum, aber es ist so. Kann mich nun auf neue Probleme bzw. Aufgaben stürzen 😃

Danke

66