Feature #82010
open
DataProcessor to fetch categories + records with the same category
Added by Christian Weiske over 7 years ago.
Updated almost 3 years ago.
Description
Fluid does not provide a way to access the list of categories that the current page is assigned to.
It would also be nice to be able to fetch other pages of the same category.
This has nothing to do with the view, but with fetching data. So this should not happen in a viewhelper but should be done in controller or via data processor.
- Subject changed from Fluid: ViewHelper to fetch categories + records with the same category to DataProcessor to fetch categories + records with the same category
- Category changed from Fluid to Frontend
I took the liberty of moving this to EXT:frontend and turning it into a request for a DataProcessor, since that is the preferred way in the TYPO3 core for providing Fluid variables that must be read from database records.
- Status changed from New to Accepted
- Assignee set to Jo Hasenau
Since there will be a mandatory method processAdditionalDataProcessors due to #88627, the second task can easily be achieved by nesting data processors and i.e. using a DatabaseQueryProcessor within a new CategoryProcessor.
So actually fetching categories maybe over several category tree levels would be enough.
- Status changed from Accepted to Under Review
- Related to Bug #95150: Menu content elements: categories not available in frontend added
Also available in: Atom
PDF