morgen zusammen,
hab da ein problem. ich will das auf einer webseite oben links der pfad der geklickten seiten angezeigt wird. so es funktioniert auch soweit nur zeigt es mir zuviel an. hier mein tree baum
blank dummy
root
startseite
unternehmen
dienstleistungen
downloads
ich will das der pfad ab startseite angezeigt wird. leider zeigt er mir auch root an. heir das setup dafür:
### Den Template Auto-Parser konfigurieren###
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/main/käse_template.html
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
TD.all = 1
}
}
### cObject für den Header ###
temp.headerTemplate = TEMPLATE
temp.headerTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
### cObject für den Body ###
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.search = TEXT
subparts.search.value = hier ensteht da search
subparts.footer = TEXT
subparts.footer.value = hier entsteht der footer
subparts.content = TEXT
subparts.content.value = hier ensteht die content area
subparts.apocontent = TEXT
subparts.apocontent.value = hier kommt apocontent
# ------------------------
# Navigation menu cObject
# ------------------------
# Menu_1 cObject
subparts.menu_1 = HMENU
subparts.menu_1.entryLevel = 0
# First level menu-object, textual
subparts.menu_1.1 = TMENU
subparts.menu_1.1 {
# Normal state properties
NO.allWrap = <div class="menu1-level1-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
# Enables spacer pages
SPC = 1
SPC.doNotShowLink = 1
SPC.before = <div class="menu_spacer"> </div>
}
# Second level menu-object, textual
subparts.menu_1.2 = TMENU
subparts.menu_1.2 {
# Normal state properties
NO.allWrap = <div class="menu1-level2-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level2-act"> | </div>
}
# Third level menu-object, textual
subparts.menu_1.3 = TMENU
subparts.menu_1.3 {
# Normal state properties
NO.allWrap = <div class="menu1-level3-no"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="menu1-level3-act"> | </div>
}
# ------------------------
# Path menu cObject
# ------------------------
subparts.position= HMENU
# Setting the special property to "rootline" - this will produce a "Path-menu"
subparts.position.special = rootline
# First level menu-object, textual
subparts.position.1 = TMENU
# Wrapping value for the whole menu:
subparts.position.1.wrap = <a href='http://localhost/käse_AP'></a> |
subparts.position.1 {
# Normal state properties appending " > " to all elements but the last one.
# (See "optionSplit")
NO.allWrap = | > |*||*| |
}
}
### seite erstellen ###
page = PAGE
page.typeNum = 0
page.noLinkUnderline = 0
page.headerData.10 < temp.headerTemplate
page.10 < temp.mainTemplate
vielen dank im voraus für eure hilfe.
grüße wicky