[TYPO3-german] Menu überschreiben
Lars Jonuscheit
Merlin732 at web.de
Tue Mar 14 10:34:50 CET 2006
Hallo,
ich habe ein Menu geschrieben welches in Root definiert ist und folgendermaßen ausschaut:
[TS]
#MENU_LINKS außerhalb definiert
temp.nav_li = HMENU
temp.nav_li {
entryLevel = -3
1 = TMENU
1 {
wrap = <div class=menu_list_item>|</div>
NO {
ATagParams = class="nav_child_menulink"
# wrapItemAndSub = <li>|</li>
}
CUR {
ATagParams = class="nav_parant_menulink"
#wrapItemAndSub = <li>|</li>
}
CR = 1
}
2 = TMENU
2 {
wrap = <div class=menu_list_item2>|</div>
NO {
ATagParams = class="nav_child_menulink"
# wrapItemAndSub = <li>|</li>
}
CUR {
ATagParams = class="nav_parant_menulink"
#wrapItemAndSub = <li>|</li>
}
CUR = 1
expAll = 1
}
3 = TMENU
3 {
wrap = <div class=menu_list_item3>|</div>
NO {
ATagParams = class="nav_child_menulink"
# wrapItemAndSub = <li>|</li>
}
CUR {
ATagParams = class="nav_parant_menulink"
#wrapItemAndSub = <li>|</li>
}
CUR = 1
}
}
[/TS]
und so aufgerufen wird:
[TS]
# 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
subparts.nav_li < temp.nav_li
[/TS]
ich möchte es gern weiter unten im Seitenbaum überschreiben, der Rest vom TS soll aber erhalten bleiben.
Kann mir jemand sagen wie das geht?
MfG Lars
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
More information about the TYPO3-german
mailing list