[TYPO3-ttnews] How get Categories of a New for Typoscript
Christian Hennecke
christianhennecke at gmx.de
Wed Nov 9 23:11:58 CET 2016
Am 20.10.2016 um 18:12 schrieb César Dueñas:
> Hi, I want to get the categories of a single new but the Typoscript:
>
> page.105.data = GP:tx_ttnews|cat
>
> Does not work, the result show cat = 0
>
> I will apreciate your help with this issue
Unless you are navigating categories, this variable will never be set.
If you have a single news, try retrieving the news ID that way and use
it to access the record in the database directly.
More information about the TYPO3-project-tt-news
mailing list