[TYPO3-german] GMENU_LAYERS geht nicht - Typo3 4.0 rc2 + Templavoila

Joe Mild typo3 at dodger.is-a-geek.net
Mon Apr 3 21:15:58 CEST 2006


Hallo Leute,

ich probiere gerade mit GMENU_LAYERS ein Menu zuerstellen aber irgendwie 
passiert nix  ;-)

Hier mal der Code

lib.layerMenu = HMENU
lib.layerMenu {
      1 = GMENU_LAYERS
      1 {
        wrap=<table cellspacing="0" cellpadding="0"><tr>|</tr></table>
        layerStyle =position:absolute;VISIBILITY:hidden;
        xPosOffset = -30
        lockPosition = y
        expAll=1
        leftOffset = 15
        topOffset = 30
        hideMenuWhenNotOver = 1
        hideMenuTimer = 250
        relativeToTriggerItem = 1
        NO {
          wrap=<td>|</td>
          backColor = #061467
          XY = 150, 22
          10 = TEXT
          10 {
            text.field = title
            offset = 5,15
            fontColor = #FFFFFF
            fontFile = fileadmin/fonts/verdana.ttf
            fontSize = 14
            fontStyle = bold
            niceText = 1
          }
        }
        CUR = 1
        CUR {
          wrap=<td>|</td>
          backColor = #364496
          XY = 150, 22
          10 = TEXT
          10 {
            text.field = title
            offset = 5,15
            fontColor = #FFFFFF
            fontFile = fileadmin/fonts/verdana.ttf
            fontSize = 14
            fontStyle = bold
            niceText = 1
          }
        }
        RO = 1
        RO {
          wrap=<td>|</td>
          backColor = #364496
          XY = 150, 22
          10 = TEXT
          10 {
            text.field = title
            offset = 5,15
            fontColor = #FFFFFF
            fontFile = fileadmin/fonts/verdana.ttf
            fontSize = 14
            fontStyle = bold
            niceText = 1
          }
        }
      }
      2 = GMENU
      2 {
        expAll=1
        NO {
          wrap=|<br>
          backColor = #EEEEEE
          XY = 130, 20
          10 = TEXT
          10 {
            text.field = title
            offset = 5,15
            fontColor = #000000
            fontFile = fileadmin/fonts/verdana.ttf
            fontSize = 12
            niceText = 1
          }
        }
        RO = 1
        RO {
          wrap=|<br>
          backColor = #364496
          XY = 130, 20
          10 = TEXT
          10 {
            text.field = title
            offset = 5,15
            fontColor = #FFFFFF
            fontFile = fileadmin/fonts/verdana.ttf
            fontSize = 12
            niceText = 1
          }
        }
      }
}
page.config.metaCharset = utf-8
page.config.additionalHeaders = Content-Type:text/html;charset=utf-8
page.config.locale_all = de_DE at euro
page.config.language = de
page.config.sys_language_uid = 0
page.config.spamProtectEmailAddresses = 1
page.config.index_enable = 1
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
page = PAGE
page.typeNum = 0
page.20 = USER
page.20.userFunc = tx_templavoila_pi1->main_page

Benutze ich eine andere Menuform wird Sie an der Stelle korrekt 
angezeigt. Wenn ich mir den Quellcode ansehe, erkenne ich aber das er 
nichts für die Layer eingebunden hat. Anscheinend greift das 
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php nicht. 
Aber warum?

Hat jemand nen Tipp?!

cu Joe



More information about the TYPO3-german mailing list