[TYPO3-english] tt_news date format
Martin Weissen
martin at weissen.li
Mon Dec 1 11:59:06 CET 2008
hi ktt
use typoscript conditions:
> ## set default date/time format for tt_news
> plugin.tt_news.displayLatest.date_stdWrap.strftime = %A, %d.%m.%Y
> plugin.tt_news.displayList.date_stdWrap.strftime = %A, %d.%m.%Y
> plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %d.%m.%Y
>
>
> [globalVar = GP:L=1]
> ## set english date/time format for tt_news
> plugin.tt_news.displayLatest.date_stdWrap.strftime = %A, %Y-%m-%d
> plugin.tt_news.displayList.date_stdWrap.strftime = %A, %Y-%m-%d
> plugin.tt_news.displaySingle.date_stdWrap.strftime = %A, %Y-%m-%d
> [global]
verify that the english language has the uid 1.
regards
martin
ktt wrote:
> Hello,
>
> I have a bilingual site. How could I setup 2 date
> formats in tt_news (english and german for example)?
> Thank you in advance,
>
> Ktt
>
>
>
>
> _______________________________________________
> 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