Skip to content

Instantly share code, notes, and snippets.

@akroii
Created January 25, 2023 08:00
Show Gist options
  • Save akroii/eca2db9d6860087bb48645e2dfdbe7cd to your computer and use it in GitHub Desktop.
Save akroii/eca2db9d6860087bb48645e2dfdbe7cd to your computer and use it in GitHub Desktop.
get mount point nav
page.5 {
dataProcessing {
70 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
70 {
special = list
special.value.stdWrap.cObject = CONTENT
special.value.stdWrap.cObject {
table = pages
select {
pidInList = root
selectFields = uid
where = is_siteroot = 1
}
renderObj = TEXT
renderObj.value = {field:uid},
renderObj.insertData = 1
}
titleField = nav_title // title
as = rootPagesNavigation
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment