[TYPO3-ttnews] How to display the last news item in the single view as default?

Andreas Kießling andreas.kiessling.n.o.s.p.a.m at web.de
Thu Mar 15 12:49:13 CET 2007


You don't read manuals, do you?

Look at page 61: "Default news id"
Insert the following lines to the setup field of an ext-template at the 
page where you want to display the latest news item in SINGLE view if no 
SINGLE view for another record was requested:

Cyprian Kowalczyk wrote:
> Hello,
> 
> I wouldn't want to reinvent a wheel therefore I'd like to ask if it is 
> possible to display the last news item in the single view?
> 
> I've got a news page with two columns [TemplaVoila].
> In the left column there is the latest news list.
> In the main column there is news single view and I would like to display 
> the latest news item when there is no news UID given.
> AFAIK displayCurrentRecord causes the plugin to get news' UID the same 
> like CE UID [heck don't know what the point, but it's ok ;]
> 
> Is there any easy solution for this?
> 
> Thanks in advance.
> 
> 
> -- 
> regards, Cyprian
> http://pi2.pl design project


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