[TYPO3] tt_news - latest news in SINGLE view

Rupert Germann rupi at gmx.li
Mon May 15 08:31:17 CEST 2006


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