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
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
$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";
?>