composer req andersundsehr/relation-processor
It adds a RelationProcessor so you don't have to manually define a DatabaseQueryProcessor for each relation you want to use.
It uses the TCA configuration to determine the correct query to use.
It uses the PageRepository->versionOL() and PageRepository->getLanguageOverlay() functions so it hase correct versioning and language overlay support.
10=AUS\RelationProcessor\DataProcessing\RelationProcessor10{
# thisfieldisofthecurrenttableandwillbeusedtodeterminetherelation
# eg.ifyouhave EXT:newsandthisprocessorisusedonatt_contentyoucangetallrelatednews like this:
field=tx_news_related_news}page=PAGEpage.10=FLUIDTEMPLATEpage.10{dataProcessing{10=TYPO3\CMS\Frontend\DataProcessing\FilesProcessor10{references.fieldName=header_imageas=headerImage}20=AUS\RelationProcessor\DataProcessing\RelationProcessor20{field=tx_customerproduct_companiesdataProcessing{10=TYPO3\CMS\Frontend\DataProcessing\FilesProcessor10{references.fieldName=header_imageas=headerImage}20=AUS\RelationProcessor\DataProcessing\RelationProcessor20{field=tx_customercompany_product_familydataProcessing{10=TYPO3\CMS\Frontend\DataProcessing\FilesProcessor10{references.fieldName=header_imageas=headerImage}}}}}}}If something did not work 😮
or you appreciate this Extension 🥰 let us know.
We are hiring https://www.andersundsehr.com/karriere/