[TYPO3] tt_news - latest news in SINGLE view

Gunnar Jonsson gu-jonss at online.no
Mon May 15 18:48:59 CEST 2006


I have tried that, but I only get rid of the "no news_id given" and gets a 
blank content element. Perhaps it has something to do with the fact that I 
am using a Templavoila template for the website.

Regards,
Gunnar Jonsson


"Rupert Germann" <rupi at gmx.li> skrev i melding 
news:mailman.1.1147674677.1092.typo3-english at lists.netfielders.de...
> Gunnar Jonsson wrote:
>> I have a page with both a tt_news SINGLE view and a tt_news LATEST view.
>> The first time I view this page, the LATEST view is giving a list of the
>> latest news, but the SINGLE view gives the text "no news_id given" 
>> because
>> there is not yet chosen a news item.
>>
>> Does anyone has a typoscript code for cheching if a news item is chosen 
>> in
>> SINGLE view and if not, get hold of the latest news item ? Or is it other
>> ways to make SINGLE view default to the latest news item, if no news item
>> is chosen ?
>
> RTFM ;-)
>
> search for "Default news id" in the tt_news manual
>
> greets
> rupert
> 





More information about the TYPO3-english mailing list