Skip to content

Instantly share code, notes, and snippets.

@lorenzulrich
Created February 8, 2016 18:58
Show Gist options
  • Save lorenzulrich/1460e7d9cac7bf0dba49 to your computer and use it in GitHub Desktop.
Save lorenzulrich/1460e7d9cac7bf0dba49 to your computer and use it in GitHub Desktop.
TYPO3 CMS: Page UID and rootline in body tag
page {
bodyTagCObject = COA
bodyTagCObject {
wrap = <body|>
20 = TEXT
20.value.field = uid
20.stdWrap.noTrimWrap = | data-uid="|"|
30 = HMENU
30 {
special = rootline
special.range = 0|-1
includeNotInMenu = 1
stdWrap.noTrimWrap = | data-rootline="|"|
1 = TMENU
1 {
noBlur = 1
NO = 1
NO {
wrapItemAndSub = |/ |*| |/ |*| |
linkWrap = |
ATagBeforeWrap = 0
doNotLinkIt = 1
stdWrap.htmlSpecialChars = 0
stdWrap.cObject = COA
stdWrap.cObject {
10 = TEXT
10 {
field = uid
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment