[TYPO3-ttnews] Make ext:news detail view show most recent item when no id given

Loek Hilgersom loek at netcoop.nl
Mon Sep 3 23:27:39 CEST 2012


Hey Philipp,

Ouch, I was afraid it would be that simple.... I think I'll manage now, thanks!

Loek


On 02-09-12 23:06, Philipp Gampe wrote:
> Hi Loek,
>
> Loek Hilgersom wrote:
>
>>>> [PIDinRootline = 11] && [globalVar = GP:tx_news_pi1|news=]
>>>
>>> That is the way to go.
>>
>> Thanks for reacting, but then what? At that point I know that no news_id
>> is provided, but how do I get tx_news to show the latest item in detail
>> view? That's the part I still don't know.
>
> http://forge.typo3.org/projects/extension-
> news/wiki/Integrate_news_with_TypoScript
>
> Just set the limit to 1 ;)
>
> The latest news is a normal latest list limited to one new shown ... that is
> all the magic :)
>
> Cheers
>


More information about the TYPO3-project-tt-news mailing list