[TYPO3-mvc] Record Relation to tt_content

Matthias Krappitz matthias at nospam.aemka.de
Wed Jul 27 16:14:30 CEST 2011


Sorry,

I hit the send button before actually finishing writing.

Well $this->content in class Classes/Domain/Model/Project.php is always 
empty, even though the project records has three tt_content records 
assigned.

In mysql tx_nhb_domain_model_project.content is 3
And the assigned tt_content records have tt_content.project is 1
which is both correct.

In Fluid I'm trying to to this:
<f:for each="{project.content}" as="content">
	{content.uid}<br />
</f:for>

Best Wishes

Matthias Krappitz
www.aemka.de 



More information about the TYPO3-project-typo3v4mvc mailing list