Zum Inhalt springen

Frage: Menü ist nicht sichtbar/Probleme mit special/entryLevel

Erstellt am 16. Februar 2006 · Noch keine Antworten

Tags: Frage

gepardd ·

Hallo zusammen

schon seit vielen Stunden bastel ich an einer Seite mit einem einfachen Menü (zum
Aufklappen), es funktioniert aber nicht richtig. Auch im Forum hab ich dazu nichts gefunden.

Problembeschreibung:
Das komplette Menü der Seite ist auf der Startseite der Hompepage nicht vorhanden,

lediglich wenn ich eine Seite des xtramenüs (Sitemap, Kontakt... siehe Link) anwähle, wird das Hauptmenü sichtbar und ist voll funktionsfähig.

Es muss was mit dem special = directory und dem entryLevel zu tun habe. Wenn ich den
entryLevel testweise auf "-2" setze, was ja eigentlich nicht stimmen dürfte, dann ist das Menü auch von der Startseite aus vorhanden, jedoch bleibt dann das Untermenü nicht aufgeklappt bei angewählter Seite.

Eingebunden habe ich "css styled content".

Hat jemand eine Idee, was ich falsch gemacht haben könnte?
Vielen Dank schon mal!!!

Grüsse Matthias

Meine Seitenstruktur:
http://www.bilder-upload.at/seiten/img/indext.php?pic=432e31639f776788f48772e4a4b4fc4b.jpg

TypoScript:

seite = PAGE
seite {
  typeNum = 0
  bodyTag = <body bgcolor="FFFFFF">
  stylesheet = fileadmin/style.css
  meta.Author = Matthias
  meta.DESCRIPTION = Homepage von Matthias

  10 = TEMPLATE
  10.template = FILE
  10.template.file = fileadmin/vorlage2.htm
  10.workOnSubpart = DOKUMENT


10.marks  {

    NAVIGATION = HMENU
    NAVIGATION.special = directory
    NAVIGATION.special.value = 62 
  ### special.value = 62  = Seite "Navigation"

    NAVIGATION.entryLevel = 1


    NAVIGATION.1 = GMENU
    NAVIGATION.1.NO = 1
    NAVIGATION.1.NO {
      wrap = |<br />
      XY = 168, 25
      backColor = #F5DCB1
      10 = TEXT
      10.text.field = title
      10.fontSize = 11
      10.fontFile = fileadmin/fonts/tahoma.ttf
      10.fontColor = #7d270b
      10.niceText = 1
      10.offset = 30, 20
      20 = IMAGE
      20.file = GIFBUILDER
      20.file {
        XY = 146, 1
        backColor = #7d270b
      }
      20.offset = 0, 24
    }
    NAVIGATION.1.RO < .NAVIGATION.1.NO
    NAVIGATION.1.RO.backColor = #fff8de
    NAVIGATION.1.CUR < .NAVIGATION.1.RO
    NAVIGATION.2 = GMENU
    NAVIGATION.2 < .NAVIGATION.1


     NAVIGATION.2.NO = 1
     NAVIGATION.2 {
      NO.10.fontSize = 10
      NO.10.offset = 60, 20
      NO.20 = IMAGE
      NO.20.file = GIFBUILDER
      NO.20.file {
        XY = 135, 1
        backColor = #7d270b
      }
      NO.20.offset = 30, 24
      RO < .NO
      RO.backColor = #fff8de
     }
      NAVIGATION.2.CUR < .NAVIGATION.2.RO


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


    NAVI_SONSTIGES = HMENU
    NAVI_SONSTIGES.special = directory
    NAVI_SONSTIGES.special.value = 61


    NAVI_SONSTIGES.1 = GMENU
    NAVI_SONSTIGES.1.NO = 1
    NAVI_SONSTIGES.1.NO.linkWrap =  | | |*| | | *|  |
    NAVI_SONSTIGES.1.NO {
      XY = 100, 20
      backColor = #F5DCB1
      10 = TEXT
      10.text.field = title
      10.fontSize = 11
      10.fontFile = fileadmin/fonts/tahoma.ttf
      10.fontColor = #7d270b
      10.niceText = 1
      10.offset = 27, 12
      }
    NAVI_SONSTIGES.1.RO < .NAVI_SONSTIGES.1.NO
    NAVI_SONSTIGES.1.RO.backColor = #fff8de

   }


}



config.sys_language_uid = 0
config.language = de
config.locale_all = de_DE 
seite.10.template.file = fileadmin/vorlage2.htm


  tmp_tt_content_text < tt_content.text
  tt_content.text >
  tt_content.text = COA
  tt_content.text.10 < lib.stdheader
  tt_content.text.20 = TEXT
  tt_content.text.20 {
    field = bodytext
    fieldRequired = bodytext

    wrap = <div id="text_content"> | </div>
    ParseFunc < tmp_tt_content.text.20.parseFunc
    editIcons < tmp_tt_content.text.20.editIcons
  }