[TYPO3-ttnews] Display latest news item in single
Jörg Winter
winter at b-net1.de
Thu Dec 17 21:41:12 CET 2009
Am 17.12.09 17:06, schrieb Iztok Kham:
> On 17.12.2009 17:03, Iztok Kham wrote:
>> Hello!
>>
>> Could please somebody help me with my problem?
>>
>> Short version:
>> I would like to display the latest news item in single view when no item
>> selected.
>>
>> A little longer version:
>> I have a page with two tt_news plugins: LIST and SINGLE.
>> They are displayed side by side by tt_news template (using a table);
>> LIST is on the left and SINGLE is on the right.
>> When somebody opens this page I want the latest news entry displayed in
>> SINGLE and list of news in LIST.
>> List of news items is displayed correctly, but how on earth do I tell
>> SINGLE to display the last item entered (newest)?
>>
>> I have searched, but couldn't get an answer.
>>
>> Oh, I use Typo 4.3 and tt_news 3.0.1
>
> And, I forgot to say that when I click on a listed item it displays
> properly in SINGLE.
>
> So my question is simply: how do I tell tt_news SINGLE plugin to display
> the newest item if no item was selected?
>
>
> -- Iztok
Hi Iztok,
There is a example TS in he tt_news-manual
http://typo3.org/documentation/document-library/extension-manuals/tt_news/3.0.1/view/1/4/#id2513502
TypoScript Examples: -> Default news id
grtz
Jörg Winter
More information about the TYPO3-project-tt-news
mailing list