Skip to content

Instantly share code, notes, and snippets.

@abteilung
Created January 28, 2014 17:12
Show Gist options
  • Save abteilung/8671866 to your computer and use it in GitHub Desktop.
Save abteilung/8671866 to your computer and use it in GitHub Desktop.
TypoScript breadcrumb navigation
lib.breadCrumb = HMENU
lib.breadCrumb {
special = rootline
# zeige komplette rootline an
special.range = 1|-1
# Variation: Link nur auf die uebergeordnete Seite
#special.range = -2|-2
# Text vor dem Rootline Menue
wrap = <div class="breadCrumbMenu">|</div>
1 = TMENU
1.target = _top
1.NO {
stdWrap.htmlSpecialChars = 1
# Layout 1: Seite 1 | Seite 2 | Seite 3
linkWrap = |<span class="breadCrumbTrenner">&nbsp;</span>|*||*| |
# Layout 2: Seite 1 > Seite 2 > Seite 3
#linkWrap = |&nbsp;>&nbsp;|*||*| |
doNotLinkIt = |*| 0 |*| 1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment