I have a problem loading content from an external extension with fluid. I want to load all selected news entries.
If I debug my fluid, I receive the following data: uid = 2 / pid = 7
But nothing more like title, bodytext, …
Is there a way to render the content with fluid and/or VHS viewhelper? I need to get all information of the selected News entries.
The record is coming from the extension „news“ and should show the title and description from the news entry.
In my Backend TCA I access the news entries via:
'foreign_table' => 'tx_news_domain_model_news',
'MM' => 'tx_news_domain_model_news_ttcontent_mm',
But in my Frontend-Rendering I have only access to the news „uid“ and „pid“ but nothing more.
My Fluid code looks like:
<f:for each="{entries}" as="entry">
<f:for each="{entry.news}" as="news">
### HERE is only the access to the uid and pid ########
</f:for>
</f:for>
I passed the entries in my Controller (Classes/Controller) with:
$entries = $this->entriesRepository->findAll();
$this->view->assign('entries', $entries);
I’ve created my own extension and I want to get access to the entries of the extension „news“.