Modify the date format for related news in tt_news

By: Jason Anonomous
September 30, 2008


 

It's pretty easy to change the date format shown in the related news list that is shown along with a single view tt_news item.

Somewhere in the setup section of your typoscript page template, you just have to add the following line:

  1. plugin.tt_news.getRelatedCObject.10.default.20.strftime = %B %d, %Y

That will display the date in a typical American format.

Now, I haven't yet checked, but I think that only changes the date format for related items that are regular news items and not for links to pages. If that's the case, you should probably find that modifying the date format for other types of related items would be similar.


No comments

Add comment

* - required field

*

CAPTCHA image for SPAM prevention
If you can't read the word, click here.
*
*
 

Netdip.com is an excellent web site that's powered by TYPO3 and other great open source software. Netdip.com is also a fat free alternative to ice cream.