[TYPO3-english] menu problem

Lex Thoonen Lex at peng.nl
Sat Sep 19 13:54:49 CEST 2009


Saturday, September 19, 2009, 11:37:24 AM, you wrote:

SM> try setting the entryLevel property of the HMENU. See an example for a
SM> DHTML menu here:
SM> http://www.typo3wizard.com/de/snippets/menus/implementation-des-dhtml-menues-von-brainjarcom.html

Thanks Susanne,

that's one that I was trying to implement in fact.

tried lots of settings but can't get it to work yet. Maybe it's to do
with my tree structure:

     website
     - Root
     --Home
     --Achtergrond
     ---Evolutie
     ---Dieethype
     --In de praktijk

     (etc)

"Home" contains everything for the home page, and in "Root", at
'Options', 'Show content from this page instead' is set to 'Home'.

Maybe that's all wrong and causing the menu not to work,I don't know.

It now looks like this:

# Menu 1 cObject
temp.menu_1 = HMENU
temp.menu_1.entryLevel = 0 

  # First level menu-object, textual 
temp.menu_1.1 = TMENU 
temp.menu_1.1 {
    # Normal state properties 
  NO.allWrap = <li class="menu1-level1-no"> | </li> 
    # Enable active state and set properties: 
  ACT = 1 
  ACT.allWrap = <li class="menu1-level1-act"> | </li>
} 

# Second level menu-object, textual 
temp.menu_1.2 = TMENU 
temp.menu_1.2 {
    # Normal state properties 
  NO.allWrap = <li class="menu1-level2-no"> | </li> 
    # Enable active state and set properties: 
  ACT = 1 
  ACT.allWrap = <li class="menu1-level2-act"> | </li> 
}

and I tried

temp.menu_1.1.entryLevel = 1
temp.menu_1.2.entryLevel = 1

and setting them both to 0 as well, all to no avail. (With emptying
cache.)

I'll go and 'play' on, see if I can find anything. Meanwhile, any more
hints are more than welcome!

Ta!


-- 
Lex Thoonen
Pêng Smart Web Design - http://www.peng.nl
Gran Canaria Info     - http://www.gran-canaria-info.com
Hollandse Nieuwe      - http://www.hollandsenieuwe.com
tel. +34 928 88.61.77



More information about the TYPO3-english mailing list