[Typo3] How to setup "recently updated" item
Jane Larsen
noesgard at gmail.com
Tue Jun 7 02:52:40 CEST 2005
Cool tip! took the liberty to use it too :o) I just changed the listing to
have the date first and then the changed page name (just for nice looks).
Made thid very easy by replacing 'after' in the code with 'before'
On 6/7/05, Torsten Schrade <schrade at lineara.de> wrote:
>
> What I was looking for is a
> > recently updated pages that would:
> >
> > - Set the limit to max. of 5 items
> > - Put the date when it was changed after it
> > - put wrap it with <br> tags instead of <p> tags (might not be
> necessary)
> >
> Hi Kimmo,
>
> TSRef (!!) + Sitemap Type 5 (Updated) does this for you:
>
> tt_content.menu.20.5 {
>
> special.limit = 5
>
> 1.NO.allWrap = | <br>
> 1.NO.after.cObject = TEXT
> 1.NO.after.cObject.wrap = <span> | </span>
> 1.NO.after.cObject.field = SYS_LASTCHANGED
> 1.NO.after.cObject.strftime = %d-%m-%y
>
> }
>
> Works here... Cheers,
> Torsten
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list