[TYPO3-ttnews] Re: [Typo3-tt-news] Change date format for related news list (single view)

Stig Kjeldsen sk at itu.dk
Fri Aug 15 13:49:08 CEST 2008


Hi Ernesto

I'm very pleased I found this tread. I have been searching after a 
solution to change the date format in related news.

I have a question to the solution. Is it possible to remove the date 
string from the related news list completely?

Best regards

Stig Kjeldsen


Ernesto Baschny [cron IT] skrev:
> Karsten Dambekalns schrieb am 05.10.2005 11:56:
> 
>>> Rupert Germann wrote:
>>>
>>>> Karsten Dambekalns wrote:
>>>> plugin.tt_news.tmp.20.strftime = %d-%m-%y %H:%M
>>>>
>>>> will do the trick.
> 
>>> No. :) Tried that already, tried it again. Doesn't help.
> 
>> So, does it works for everybody else? Then I'll have to debug this
>> hard(er)...
> 
> I think unfortunately this "tmp" array will already be copied over to
> other places where they are used. So overwriting it won't change
> anything. You have to change the places where plugin.tt_news.tmp.20
> is copied to:
> 
> plugin.tt_news {
>   getRelatedCObject.10.default.20.strftime = %A, %d. %B %Y, %H:%M
>   getRelatedCObject.10.1.20.strftime = %A, %d. %B %Y, %H:%M
>   getRelatedCObject.10.2.20.strftime = %A, %d. %B %Y, %H:%M
> }
> 
> To get this info, use the Web>Template and the "Template Analizer" and
> read the template "EXT:tt_news/static/ts_new/", here you will see what I
> mean (search for "plugin.tt_news.tmp.20").
> 
> 
> Cheers,
> Ernesto


More information about the TYPO3-project-tt-news mailing list