Zum Inhalt springen

Probs mit Layermenü

Erstellt am 10. August 2004 · 3 Antworten · letzte Antwort am 10. August 2004

Tags: Frage

Therealherby ·

Hallo,

ich habe ein kleines Problem mit einem Menue dass nicht will :-/ Es geht um ein Layermenue, ich hoffe mir kann hier jemand helfen.

Meine config sieht so aus:

config.no_cache = 1
config.index_enable = 1
language = de
index_externals = 1

seite = PAGE
seite{
  typeNum = 0
  bodyTag = <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
  stylesheet = fileadmin/css/baehr.css
  10 = TEMPLATE
  10 {
    template = FILE
    template.file = fileadmin/tpl/index.html
    workOnSubpart = DOKUMENT
    marks{
      INHALT < styles.content.get
      MENU < temp.layermenu
      BILDER < styles.content.get
    }
  }
}

Unter Include basis template:
layermenu

habe ein SysOrdner "Template", da unter config ist:

seite.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php

temp.layermenu = HMENU
temp.layermenu{
  entryLevel = 0

seite.10 = HMENU
seite.10.1 = GMENU_LAYERS
seite.10.1 {
  layerStyle = position:absolute;left:0px;top:30px;width:10px;VISIBILITY:hidden; 
  xPosOffset =-10
  lockPosition = x
  expAll=1
  NO {
    backColor = #cccccc
    XY = [10.w]+10, 14
    10 = TEXT
    10.text.field = title
    10.offset = 5,10
  }
}
seite.10.2 = GMENU
seite.10.2.wrap = |<BR>
seite.10.2.NO {
  backColor = #99cccc
  XY = 120, 14
  10 = TEXT
  10.text.field = title
  10.offset = 5,10
}

findet irgendjemand den Fehler? Denn er ezigt keinen Fehler an, sondern da wo ein Menue sein sollte, ist einfach gar nicht ?!?!?!

Danke
Herby

Therealherby ·

Hallo,

ich habe einen Fehler gefunden. Der SysOrdner "Templates" sieht nun so aus:

seite.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php

temp.layermenu = HMENU
temp.layermenu{
  entryLevel = 0

  1 = GMENU_LAYERS
  1 {
  layerStyle = position:absolute;left:0px;top:30px;width:10px;VISIBILITY:hidden; 
  xPosOffset =-10
  lockPosition = x
  expAll=1
  NO {
    backColor = #cccccc
    XY = [10.w]+10, 14
    10 = TEXT
    10.text.field = title
    10.offset = 5,10
  }

  2 = GMENU
  2{ 
    wrap = |<BR>
    2.NO {
    backColor = #99cccc
    XY = 120, 14
    10 = TEXT
    10.text.field = title
   10.offset = 5,10
  }
}

Nun ist das Menue der ersten Ebene da, es macht sich aber kein Layer auf ??? :-(

Kann mir evtl. jemand helfen?

Danke!!
Herby