---
title: "Typoscriptmenü in Extension"
url: "https://www.typo3.net/d/75914-typoscriptmenue-in-extension"
source: "typo3.net"
tags: ["Extensions","Entwicklung","Frage"]
created: "2008-04-10"
last_reply: "2008-04-10"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Typoscriptmenü in Extension

Extensions › Entwicklung · 1 Antwort · gestartet 2008-04-10

## Eröffnungsbeitrag

**Knalltuete** · 2008-04-10 · [Beitrag #1](https://www.typo3.net/d/75914-typoscriptmenue-in-extension/1)

hi leute,

ich hab da mal ne frage zum thema typoscript in extensions.
ich moechte ein menü von meiner extension basteln lassen, in dem ich das typoscript dort hineinschreibe.
jedoch habe ich das problem, dass man werte anscheinend nur mit "=" zuweisen kann, ich bräuchte jedoch "<" als zuweisungsoperator.
Ist dies möglich? Wenn nein, gibt es noch einen anderen weg?

mein typoscript

```typoscript
myIronmanMenu = HMENU
myIronmanMenu {
	special = directory
	special.value = 314
        
        1 = TMENU
        1 {
                wrap = <ul id="menuCategory">|</ul>
                noBlur = 1
                expAll = 1
                NO = 1
                NO {
                        wrapItemAndSub = <li class="categoryItem">|</li>
                        stdWrap.htmlSpecialChars = 0
                        ATagTitle.field = title
                        doNotLinkIt = 1
                }
                ACT <.NO
        }
        2 = TMENU
        2 {
                wrap = <ul id="subMenu">|</ul>
                noBlur = 1
                NO = 1
                NO {
                        wrapItemAndSub = <li class="subMenuItem">|</li>
                        stdWrap.htmlSpecialChars = 0
                        ATagTitle.field = title
                }
                ACT <.NO
        }
}

page.10.marks.content < myIronmanMenu
```

mein bisheriger phpcode

```php
<?php
$GLOBALS["TSFE"]->pSetup["myIronmanMenu"] = "HMENU";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["special"] = "directory";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["special."]["value"] = "314"; //PID noch dynamisch auslesen
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1"] = "TMENU";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["wrap"] = "<ul id=\"menucategroy\">|</ul>";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["noBlur"] = "1";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["expAll"] = "1";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["NO"] = "1";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["NO."]["wrapItemAndSub"] = "<li class=\" categoryitem\">|</li>";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["NO."]["stdWrap.htmlSpecialChars"] = "0";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["NO."]["ATagTitle.field"] = "title";
$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]["1."]["NO."]["doNotLinkIt"] = "1";
$GLOBALS["TSFE"]->pSetup["page."]["10."]["marks."]["content"] = "myIronmanMenu";
?>
```

## Antworten

### [#2](https://www.typo3.net/d/75914-typoscriptmenue-in-extension/2) · Knalltuete · 2008-04-10

nah hat sich schon erledigt.. hatte was wichtiges vergessen!

das hier:

```php
		$content = $this->pibase->cObj->cObjGetSingle($GLOBALS["TSFE"]->pSetup["myIronmanMenu"],$GLOBALS["TSFE"]->pSetup["myIronmanMenu."]);
```

also close^^'

---

Quelle: „Typoscriptmenü in Extension“, typo3.net, https://www.typo3.net/d/75914-typoscriptmenue-in-extension
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
