---
title: ".special=directory"
url: "https://www.typo3.net/d/22917-specialdirectory"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2005-03-25"
last_reply: "2005-03-25"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# .special=directory

TYPO3 › Menüs · 2 Antworten · gestartet 2005-03-25

## Eröffnungsbeitrag

**schlicht** · 2005-03-25 · [Beitrag #1](https://www.typo3.net/d/22917-specialdirectory/1)

Hi Leute hab mal wieder ne Anfängerfrage.

Und zwar würde ich gern wissen ob wenn man .special einsetzt dann das GMENU nur noch auf Level 1 anwenden kann.

## Antworten

### [#2](https://www.typo3.net/d/22917-specialdirectory/2) · mstuebner · 2005-03-25

> **schlicht schrieb:**
>
> Hi Leute hab mal wieder ne Anfängerfrage.
>
> Und zwar würde ich gern wissen ob wenn man .special einsetzt dann das GMENU nur noch auf Level 1 anwenden kann.

Nein, Du legst die Startseite ja selbst fest.

### [#3](https://www.typo3.net/d/22917-specialdirectory/3) · schlicht · 2005-03-25

Bei dem Code den ich benutze funktioniert allerdings nur die erste Ebene. Wenn ich jedoch die Zeilen *.special auskommentier funktioniert das Skript einwandfrei.

Woran könnte das liegen?

```typoscript
 subparts.NAVIGATION=HMENU
 subparts.NAVIGATION.special=directory
 subparts.NAVIGATION.special.value=60
 subparts.NAVIGATION.1 = GMENU

 subparts.NAVIGATION.1 {
    NO {
            wrap= | |*|<img src="fileadmin/images/00_spacer_10.gif" border="0" width="181" height="10">| |*|<img src="fileadmin/images/00_spacer_10.gif" border="0" width="181" height="10">| 
             XY =[4.w], [4.h]

            4 = IMAGE
            4.file = fileadmin/images/01_backmenu.gif
            4.height = 32
            4.width = 200
        
            10 = TEXT
            10.text.field = title
            10.offset = 23,13 
            10.align = left
            10.fontSize= 7
            10.fontFile = fileadmin/fonts/verdanab.ttf
            10.fontColor= #000000
           
          }
   RO < .NO
   RO {
      10.fontColor = #1E90FF
      20 >
      20 < .10
   }
   RO=1  
  }

  #erzeugen des 2 Leves der NAvigation
  subparts.NAVIGATION.2=GMENU
  #zuerst muss Level 1 nach Level 2 kopiert werden
  subparts.NAVIGATION.2 < subparts.NAVIGATION.1
  subparts.NAVIGATION.2 {
      NO {
            wrap= | 
             XY =[4.w], [4.h]

            4 = IMAGE
            4.file =fileadmin/images/01_backmenu_level2.gif
            4.height = 32
            4.width = 200
        
            10 = TEXT
            10.text.field = title
            10.offset = 23,13 
            10.align = left
            10.fontSize= 7
            10.fontFile = fileadmin/fonts/verdanab.ttf
            10.fontColor= #000000
           
          }
   RO < .NO
   RO {
      10.fontColor = #1E90FF
      20 >
      20 < .10
   }
   RO=1  
  }
```

---

Quelle: „.special=directory“, typo3.net, https://www.typo3.net/d/22917-specialdirectory
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
