Project

General

Profile

Actions

Feature #82010

open

DataProcessor to fetch categories + records with the same category

Added by Christian Weiske over 6 years ago. Updated over 2 years ago.

Status:
Under Review
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2017-07-31
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #95150: Menu content elements: categories not available in frontendRejectedBenjamin Kott2021-09-08

Actions
Actions #1

Updated by Thorben Nissen over 6 years ago

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.

Actions #2

Updated by Sebastian Schmal over 6 years ago

u can build a VH ?

Actions #3

Updated by Claus Due about 6 years ago

  • 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.

Actions #4

Updated by Jo Hasenau over 4 years ago

  • Status changed from New to Accepted
  • Assignee set to Jo Hasenau
Actions #5

Updated by Jo Hasenau over 4 years ago

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.

Actions #6

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62123

Actions #7

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62124

Actions #8

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62124

Actions #9

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62124

Actions #10

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62123

Actions #11

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62123

Actions #12

Updated by Georg Ringer over 2 years ago

  • Related to Bug #95150: Menu content elements: categories not available in frontend added
Actions #13

Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/62123

Actions

Also available in: Atom PDF