benjaminkott / benjaminkott/bootstrap_package

Get category fields using MenuCategorizedPages

Open
#1,102 1 comment 0 reactions 0 assignees View on GitHub
out-of-scope question
Dominant language
PHP
Stars
355
Forks
212
Avg merge
1h 4m
Merged PRs (30d)
31

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.