---
title: "HMENU"
url: "https://www.typo3.net/d/73983-hmenu"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2008-02-21"
last_reply: "2008-03-07"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# HMENU

TYPO3 › Menüs · 4 Antworten · gestartet 2008-02-21

## Eröffnungsbeitrag

**ristic** · 2008-02-21 · [Beitrag #1](https://www.typo3.net/d/73983-hmenu/1)

Hallo Leute,

ich hab ein Problem was mich wahnsinnig fuchst. Ein Menü mit 2 Navigationsebenen, wobei die erste nicht klickbar ist.

Im Grunde will ich nur noch einen Effekt bei der jeweiligen aktivierten Seite anzeigen lassen. Aber wie es scheint ignoriert er mir komplett das ACT???!!!

Hier mal der Code, vielleicht habt ihr eine Ahnung woran es liegen könnte. Vielen Dank im Voraus.

```typoscript
# the new mainNavi on the left side
temp.menu100 = HMENU
temp.menu100 {
	special = directory
	special.value = 2195
	
	1 = TMENU

        1 {
        	expAll = 1
		# the normal status for the head toggle
	        NO = 1
	        wrap = <ul>|</ul>
	        NO {
	        	# don't link the firstnav
		        doNotLinkIt = 1
        		allWrap = <li>|</li>
        		# wrap the first nav because of the css
        		linkWrap = <a>|</a>
          	}
		
		# the spacer (pages with the behavior distance are necessary)
		SPC = 1
		SPC {
			doNotLinkIt = 1
			wrapItemAndSub = <li class="whiteblank">|</li>
		}
        } 
        
        2 < .1
        2 {      	     	
       		NO {
       			linkWrap =  |
       			doNotLinkIt = 0
			allWrap = <li class="test">|</li>
			ATagTitle.field = abstract // description // title
       		}       		
       		
       		ACT < .NO
       		ACT = 1
       		ACT {
			allWrap = <li class="active">|</li>
       		}
        }  
}
```

## Antworten

### [#2](https://www.typo3.net/d/73983-hmenu/2) · ristic · 2008-02-25

#angry# hat den keiner eine Idee? Irgendwo muss ja der Wurm drin sein?!  :(

### [#3](https://www.typo3.net/d/73983-hmenu/3) · just2b · 2008-02-25

du sprichst vom Aktiv-Zustand der 2. Ebene oder?

georg

### [#4](https://www.typo3.net/d/73983-hmenu/4) · ristic · 2008-02-26

Ja genau, der aktive Zustand soll einfach eine andere Klasse sein, wobei er mir das Ganze komplett zu ignorieren scheint?!  #paralyzed#

Daniel

### [#5](https://www.typo3.net/d/73983-hmenu/5) · ristic · 2008-03-07

Ich dachte ich hab alles probiert. Aber es war dann im Grunde nichts großartiges. Das ACT durfte nicht auf 1 gesetzt werden.

```typoscript
# the new mainNavi on the left side
temp.menu100 = HMENU
temp.menu100 {
	special = directory
	special.value = 2195
	
	1 = TMENU

        1 {
        	expAll = 1
		# the normal status for the head toggle
	        NO = 1
	        wrap = <ul>|</ul>
	        NO {
	        	# don't link the firstnav
		        doNotLinkIt = 1
        		allWrap = <li>|</li>
        		# wrap the first nav because of the css
        		linkWrap = <a>|</a>
          	}
		
		# the spacer (pages with the behavior distance are necessary)
		SPC = 1
		SPC {
			doNotLinkIt = 1
			wrapItemAndSub = <li class="whiteblank">|</li>
		}
        } 
        
        2 < .1
        2 {      	     	
       		NO {
       			linkWrap =  |
       			doNotLinkIt = 0
			allWrap = <li>|</li>
			ATagTitle.field = abstract // description // title
       		}       		
       		
       		ACT < .NO
       		#ACT = 1
       		ACT {
			allWrap = <li class="active">|</li>
       		}
        }  
}
```

---

Quelle: „HMENU“, typo3.net, https://www.typo3.net/d/73983-hmenu
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
