diff --git a/Configuration/TypoScript/Setup/Page.typoscript b/Configuration/TypoScript/Setup/Page.typoscript index a5848cb..4805665 100644 --- a/Configuration/TypoScript/Setup/Page.typoscript +++ b/Configuration/TypoScript/Setup/Page.typoscript @@ -110,6 +110,19 @@ page { references.fieldName = media } + 800 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 800 { + as = rootline + special = rootline + # First two level are root page and folders for structure + special.range = 2|-2 + + if { + value = 2 + isGreaterThan.data = level + } + } + 1000 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor 1000 { as = footerMenu diff --git a/Resources/Private/Templates/Page/Full.html b/Resources/Private/Templates/Page/Full.html index 9b41262..e9e7a46 100644 --- a/Resources/Private/Templates/Page/Full.html +++ b/Resources/Private/Templates/Page/Full.html @@ -12,18 +12,43 @@ + + {f:render(section: 'Breadcrumb', arguments: { + breadcrumb: rootline + })} + + {f:render(section: 'TableOfContent', arguments: { + contentSections: pageSections.0.content + })} + + + + + + + + + +