---
title: "Syntaxfrage"
url: "https://www.typo3.net/d/16123-syntaxfrage"
source: "typo3.net"
tags: ["Allgemein","Frage"]
created: "2004-09-22"
last_reply: "2004-09-22"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Syntaxfrage

Allgemein · 1 Antwort · gestartet 2004-09-22

## Eröffnungsbeitrag

**saltimbokka** · 2004-09-22 · [Beitrag #1](https://www.typo3.net/d/16123-syntaxfrage/1)

Hallo miteinander.
Ich hab da eine Syntax-Frage zu den geschweiften Klammern; ich hab folgenden (gekürzten) Code:

```typoscript
page.10 = TEMPLATE
page.10 {
  template = FILE
  template.file = fileadmin/templates/template_1.html
  workOnSubpart = DOCUMENT_BODY
  subparts {
    NAVMENU = HMENU
    NAVMENU {
      entryLevel = 0
      1 = GMENU
      1 {
        expAll = 1
        NO {
          allWrap = <tr><td>|</td></tr>
          XY = 150,20
          backColor = #01DBC5
          10 = TEXT
          10.text.field = title
          10.fontColor = black
          10.fontFile = fileadmin/fonts/arial.ttf
          10.fontSize = 13
          10.offset = 7,14
        }
        CUR < .NO
        CUR = 1
        CUR.backColor = #A4A2A4
        RO < .CUR 
        RO= 1
      }
      2 = GMENU
      2 {
        NO < page.10.subparts.NAVMENU.1.NO
        ...
```

Der funktioniert auch, ich möchte nur wissen wie ich kürzer auf page.10.subparts.NAVMENU.1.NO (letzte Zeile) verweisen kann, wie ich also wieder eine Ebene raus komme um relativ verweisen zu können?

Grüße
Saltimbokka

## Antworten

### [#2](https://www.typo3.net/d/16123-syntaxfrage/2) · maxhb · 2004-09-22

Hi!
Relative Verweise a la"..", wie im Dateisystem sind nicht möglich. Du könntest aber folgendes schreiben:

```typoscript
...
      2 = GMENU
      2.NO < 1.NO
      2 {
        ...
```

CU
 maxhb

---

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