benjaminkott / bootstrap_package

Bootstrap Package delivers a full configured theme for TYPO3, based on the Bootstrap CSS Framework.
https://www.bootstrap-package.com/
MIT License
337 stars 203 forks source link

Get category fields using MenuCategorizedPages #1102

Open olivermeckel opened 3 years ago

olivermeckel commented 3 years ago

Is there a way to get the fields from the used categories (like category.title, category.slug) for each menu entry? i tried to extend the the typoscript by

dataProcessing { 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 10 { references.fieldName = media } 20 = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor 20 { table = sys_category pidInList = root,-1 selectFields = sys_category.* recursive = 99 as = categories } }

But the categories array is empty

i want to build a filter for the listed pages (menu)

i'am using TYPO3 10 and i wonder why using and render categories is still so complicated.

I look forward to your suggestions Olli

gilbertsoft commented 2 years ago

Hey @olivermeckel , looks not related to BP but TYPO3.