---
title: "Hauptmenü oben, Untergeordnetes Menü links"
url: "https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2006-01-11"
last_reply: "2006-01-13"
replies: 10
solved: false
page: 1
pages: 1
lang: "de"
---

# Hauptmenü oben, Untergeordnetes Menü links

TYPO3 › Menüs · 10 Antworten · gestartet 2006-01-11

## Eröffnungsbeitrag

**Pappenhuber** · 2006-01-11 · [Beitrag #1](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/1)

Hallo Leute,

ich mache gerade erste Gehversuche mit Typo3, mit Hilfe der Mitwald Typo Referenz und habe folgendes Problem.

Folgendes Skript baut mir mein Hauptmenü Oben **und** Links auf, ich kann also links oder Oben auf die "Buttons" klicken und das Untermenü wird mir vollkommen richtig ebenfalls links abgebildet. Ich möchte jedoch Nur Oben das Hauptmenü und links die dazugehörigen Untermenüs angezeigt bekommen.

Habt ihr da eine Lösung für mich?

Vielen Dank

Tobias

seite = PAGE
seite {
typeNum = 0
bodyTag = <body bgColor = "#FFFFFF">
stylesheet = fileadmin/style.css
meta.AUTHOR = Tobias Müller
meta.DESCRIPTION = Hier steht eine Beschreibung
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/vorlage2.html
10.workOnSubpart = DOKUMENT
10.marks {
                  TRAILER = IMAGE
                  TRAILER.file = GIFBUILDER
                  TRAILER.file {
                                       XY = 700, 86
                                       backColor = #FFFFFF
                                       10 = TEXT
                                       10.text.field = subtitle // title
                                       10.fontSize = 40
                                       10.fontFile = fileadmin/fonts/arial.ttf
                                       10.fontColor = #99FFFF
                                       10.niceText = 1
                                       10.offset = 10, 75

20 = TEXT
                                       20.text.field = subtitle // title
                                       20.fontSize = 30
                                       20.fontFile = fileadmin/fonts/arial.ttf
                                       20.fontColor = #9999FF
                                       20.niceText = 1
                                       20.offset = 40, 68
                                     }
                   MENU_OBEN = HMENU
                   MENU_LINKS.entryLevel = 0
                   MENU_OBEN.special = directory
                   MENU_OBEN.special.value = 7

                   MENU_OBEN.1 = TMENU
                   MENU_OBEN.1.NO = 1

                   MENU_OBEN.1.NO.linkWrap = &nbsp;|&nbsp;&#124; |*|
                   &nbsp;|&nbsp;&#124; |*| &nbsp;|

MENU_LINKS = HMENU
                   MENU_LINKS.special = directory
                   MENU_LINKS.special.value = 8
                   MENU_LINKS.entryLevel = 1

MENU_LINKS.1 = GMENU
                   MENU_LINKS.1.NO = 1
                   MENU_LINKS.1.NO {
                            XY = 169, 23
                            backColor = #CCCCCC
                            10 = TEXT
                            10.text.field = title
                            10.fontColor = #000000
                            10.fontFile = fileadmin/fonts/arial.ttf
                            10.fontSize = 12
                            10.niceText = 1
                            10.offset = 7, 15
                            20 = IMAGE
                            20.file = GIFBUILDER
                            20.file {
                            XY = 170,1
                            backColor = #FFFFFF
                            }
                            20.offset = 0, 29
                          }
                  MENU_LINKS.1.RO < .MENU_LINKS.1.NO
                  MENU_LINKS.1.RO {
                                                tmp < .backColor
                                                backColor = #66CCFF
                                                5 < .10
                                                5.fontColor < .tmp
                                                5.offset = 7,15
                                             }
                  MENU_LINKS.1.CUR < .MENU_LINKS.1.RO
                  MENU_LINKS.2 < .MENU_LINKS.1
                  MENU_LINKS.2 {
                  NO.backColor = #E2F5E5
                  NO.10.fontColor = #000000
                  NO.20.file.backColor = #478951
                  RO < .NO
                  RO.backColor = #FFFFFF
                  RO.5 >
                  CUR < .RO
                  }

MENU_LINKS_2 = HMENU
                   MENU_LINKS_2.special = directory
                   MENU_LINKS_2.special.value = 28
                   MENU_LINKS_2.entryLevel = 1

MENU_LINKS_2.1 = GMENU
                   MENU_LINKS_2.1.NO = 1
                   MENU_LINKS_2.1.NO {
                            XY = 169, 23
                            backColor = #CCCCCC
                            10 = TEXT
                            10.text.field = title
                            10.fontColor = #000000
                            10.fontFile = fileadmin/fonts/arial.ttf
                            10.fontSize = 12
                            10.niceText = 1
                            10.offset = 7, 15
                            20 = IMAGE
                            20.file = GIFBUILDER
                            20.file {
                            XY = 170,1
                            backColor = #FFFFFF
                            }
                            20.offset = 0, 24
                          }
                  MENU_LINKS_2.1.RO < .MENU_LINKS_2.1.NO
                  MENU_LINKS_2.1.RO {
                                                tmp < .backColor
                                                backColor = #CCCCFF
                                                5 < .10
                                                5.fontColor < .tmp
                                                5.offset = 9,23
                                             }
                  MENU_LINKS_2.1.CUR < .MENU_LINKS_2.1.RO
                  MENU_LINKS_2.2 < .MENU_LINKS_2.1
                  MENU_LINKS_2.2 {
                  NO.backColor = #E2F5E5
                  NO.10.fontColor = #478951
                  NO.20.file.backColor = #478951
                  RO < .NO
                  RO.backColor = #FFFFFF
                  RO.5 >
                  CUR < .RO
                  }

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

## Antworten

### [#2](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/2) · laptop24 · 2006-01-12

special ist in beiden Fällen "directory". special.value sollte auch in beiden Fällen "7" sein. Sonst stehen ja für beide Menüs unterschiedliche Ausgangspunkte zur Basis.

```typoscript
MENU_OBEN = HMENU
MENU_OBEN {
  special = directory
  special.value = 7

  1 = TMENU
  1 {
    NO.linkWrap =  | | |*| | | |*|  |
  }
}

MENU_LINKS = HMENU
MENU_LINKS {
  special = directory
  special.value = 7
  entryLevel = 1

  1 = GMENU
  1 {
    NO {
      ...
    }

    RO < MENU_LINKS.1.NO
    RO {
      ...
    }

    CUR < MENU_LINKS.1.RO
  }

  2 < MENU_LINKS.1
  2 {
    NO {
      ...
    }

    RO < MENU_LINKS.2.NO
    RO {
      ...
      5 >
    }

    CUR < MENU_LINKS.2.RO
  }
}
```

### [#3](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/3) · Pappenhuber · 2006-01-12

Vielen Dank schon einmal, ist richtig habe es geändert,
trotzallem sind bei mir Hauptmenüpunkte Oben und Links dargestellt. Wie ändere ich dies das Hauptnavigation oben liegt und jeweilige Unterpunkte links?

Vielen Dank im Voraus, Tobias!

### [#4](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/4) · Dander · 2006-01-12

hi,

über das entryLevel, setz das einfach eins tiefer

### [#5](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/5) · Pappenhuber · 2006-01-12

Hallo,

vielen Dank!,
ändere ich das Entrylevel ab (setz es tiefer) so ist gar kein Menü links mehr zu sehen!

??? Tobias

### [#6](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/6) · laptop24 · 2006-01-12

Kannst Du mal einen Screenshot von Deinem Seitenbaum posten?!

### [#7](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/7) · Pappenhuber · 2006-01-12

Bild: C:\…\1.jpg

### [#8](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/8) · laptop24 · 2006-01-12

An C:\Dokumente und Einstellungen ... kommen wir aus dem Internet HOFFENTLICH nicht ran.

:o

### [#9](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/9) · hombo13 · 2006-01-13

Hallöle das Problem hatt ich auch. Ich habe es ganz einfach über das CSS gelöst und die erste Ebene mit "display:none" ausgeblendet. Das ist natürlich nicht ganz korrekt und ziemlich faul - aber effizient  #giggle#

### [#10](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/10) · Pappenhuber · 2006-01-13

... nun noch mal ein Bild vom Seitenbaumanfang!!

-Name
 |_
   Homepage
    |_
    | Menü oben(Verknüpfung)
    | |_
    | |_Leistung(Verknüpfung)
    | |_Unternehmen(Verknüpfung)
    | |_Standorte(Verknüpfung)
    | |_Seminare(Verknüpfung)
    |    Kontakt(Verknüpfung)
    |_
      Menü links
      |_
      | Leistung
      |  |_
      |  |_Berufsausb
      |  |_Weiterbildung
      |  |_Sprachen
      |     Qualifikation
      |
      |_Unternehmen
      |_Standorte
      |_Seminare
        Kontakt

### [#11](https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links/11) · Pappenhuber · 2006-01-13

hallo hombo13,
danke, erläuterst du mir das mal ein bisschen näher?

Tobias

... wie verschickt man hier nur bilder??????[/img]

---

Quelle: „Hauptmenü oben, Untergeordnetes Menü links“, typo3.net, https://www.typo3.net/d/36075-hauptmenue-oben-untergeordnetes-menue-links
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
