Location Menu (Breadcrumb Menu)

Code TypoScript below gives you a breadcrumb menu of the form “Home : About : Page1 : Page2”.

temp.mypath = HMENU 
temp.mypath.special = rootline
temp.mypath.special.range = 0 | 5
 
# To exclude some pages
#temp.mypath.excludeUidList = 24, 33
 
temp.mypath.1 = TMENU
temp.mypath.1 {
    noBlur = 1
    NO.linkWrap = |:|*||*| |
    NO.stdWrap.htmlSpecialChars = 1
    NO.stdWrap.field = nav_title // title
    CUR < NO
    CUR = 1
    #CUR.doNotLinkIt = 1
    CUR.stdWrap.htmlSpecialChars = 1
}

Other Menu Entry Separator

To use symbol (») instead of (:), you have to replace line NO.linkWrap with:

NO.linkWrap = | &raquo; |*||*| |

How to Use

Add a placeholder ###PATH### in your template and then use following TypoScript:

page.10 {
    workOnSubpart = DOCUMENT
    marks.PATH < temp.mypath
}
Flattr