Search code examples
phptypo3tx-news

Typo3 - Fluid - Content Header output


I have an issue with Typo3 Extension tx_News.

I should Display the tt_content Header in the General fluid template. I tried to found any Solutions by search in Google, unfortunately I don't found any solution.

I tried to get the Output by: - {contentObject.header} - {contentObj.header} - {tt_content.header} - {data-header}

Unfortunately I don't found the correct solution and would appreciate if anybody can help me


Solution

  • The news extension adds the content object data in the variable contentObjectData, so you can use {contentObjectData.header} to get the tt_content header value in your news templates.