---
title: "Menü in Level 0 sichtbar, in Level 1 nicht"
url: "https://www.typo3.net/d/33666-menue-in-level-0-sichtbar-in-level-1-nicht"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2005-11-22"
last_reply: "2005-11-23"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Menü in Level 0 sichtbar, in Level 1 nicht

TYPO3 › Menüs · 1 Antwort · gestartet 2005-11-22

## Eröffnungsbeitrag

**gm** · 2005-11-22 · [Beitrag #1](https://www.typo3.net/d/33666-menue-in-level-0-sichtbar-in-level-1-nicht/1)

Hallo.

Vielleicht weiß ja hier jemand Rat, ich selber bin wohl anscheinend zu blöd oder hab etwas Grundlegendes übersehen. Der Code ist genau der selbe im Template einer Seite der obersten Ebene (0) wie auch im Template einer Seite in Ebene 1. Sichtbar wird das Menü (alle Seiten der Ebene 1) aber nur in Ebene 0, nicht in Ebene 1.

```typoscript
TEMP_MAIN_NAV = HMENU
TEMP_MAIN_NAV.entryLevel = 0
TEMP_MAIN_NAV {
  1=GMENU 
  1 {
    
    NO {
      wrap (
             |
             )
        XY = [10.w]+30,[10.h]+10
        offset = 10,10
        backColor = #1c4693
        10=TEXT
        10 {
        
        text.field=title
        fontColor=#ffffff
        fontFile = fileadmin/fonts/uvc_____.TTF
        fontSize=13
        }
     }
     
    RO < .NO
    RO=1
    RO.backColor = #1c4693
    RO.10.fontColor= #ffffff
    ACT < .RO
    ACT=1
  }
}
     
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/template/presse.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/template/
}
# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menue1### subpart with dynamic menu:
subparts.menue1 < TEMP_MAIN_NAV
# Substitute the ###inhalt### subpart with some example content:
subparts.inhalt = TEXT
subparts.inhalt.value = CONTENT
}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
```

## Antworten

### [#2](https://www.typo3.net/d/33666-menue-in-level-0-sichtbar-in-level-1-nicht/2) · gm · 2005-11-23

:'(

Keiner weiß einen Rat? Hab ich es vielleicht unverständlich ausgedrückt?

---

Quelle: „Menü in Level 0 sichtbar, in Level 1 nicht“, typo3.net, https://www.typo3.net/d/33666-menue-in-level-0-sichtbar-in-level-1-nicht
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
