[TYPO3] Using tt_news to display the latest item dynamically
Michiel de Vries
michiel at twain84.biz
Wed Mar 15 22:16:59 CET 2006
Hi Michael,
Thanks for your help. I have another wish... I'd like to show a number
of news items dynamically, e.g. the last one, the one but last, etc.
I'm using this to create a slideshow of the latest news items in the
sportshall of my badminton club.
Would you know a way to achieve this?
Thanks,
Michiel.
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Michael
Cannon
Sent: zondag 26 februari 2006 17:48
To: TYPO3 English
Subject: Re: [TYPO3] Using tt_news to display the latest item
dynamically
Michiel,
I've got several websites using news latest to display a full article
on a page.
If you're using the news subheader in your template, you'll need to
increase the TypoScript crop property. Else, change your template to
use NEWS_CONTENT.
Example TS in using news latest for a full page of display.
-----
plugin.tt_news.latestLimit = 1
plugin.tt_news.displayLatest {
date_stdWrap.strftime= %m/%d/%Y
time_stdWrap.strftime= %H:%M
subheader_stdWrap.crop = 10000 | ...
subheader_stdWrap.ifEmpty.field = bodytext
imageCount=100
caption_stdWrap.if.directReturn >
caption_stdWrap.wrap = <span class="csc-news-image-caption"> | </
span>
caption_stdWrap.trim=1
caption_stdWrap.required=1
}
-----
Michael
-----
Michael Cannon
President of Cannonbose, LLC
Tel : +1 (206) 351-0159 Fax : +1 (802) 609-2776
On Feb 26, 2006, at 09:42 , Michiel de Vries wrote:
> Hi All,
>
> I want to have a page that shows the latest item of my tt_news
> database.
> I have tried to achieve that using the LATEST setting of the plugin.
> However that does not show me the full item, but only the summary.
>
> When I use the Single, I have the problem that I can't know the
> news ID
> to display.
>
> How can I achieve this?
>
> Thanks,
>
> Michiel.
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date:
> 24-2-2006
>
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.1.0/269 - Release Date: 24-2-2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 268.2.3/281 - Release Date: 14-3-2006
More information about the TYPO3-english
mailing list