[TYPO3-ttnews] Re: [Typo3-project-tt-news] Feature request: Additional field "Last Updated on"

Martin Chemnitz mch at knr.gl
Wed Feb 21 20:10:18 CET 2007


Steffen Mueller wrote:
> Hi.
> 
> On 28.06.2004 16:40 JoH wrote:
>>> I wish to have an additional date field in tt_news to mark updates on
>>> news. If one did an update to a news, this could be recorded with a
>>> timestamp. The news then gets labeled with a flag/date.
>>>
>>
>> AFAIK this can be easily solved by using the "tstamp" field.
>> This field is always updated when a news item has been saved while the
>> "crdate" field still contains the tstamp of the first creation.
>> So you can use a marker inside your news template to fill in the date 
>> from
>> "tstamp".
>>
> 
> 
> Thank for your answer. It worked after altering tca.php and 
> pi/class.tx_ttnews.php
> 
> But I'm still not very glad about the workflow. tstamp is now always 
> visible. Is it possible to compare crdate and tstamp via TS-setup and 
> make tstamp to be displayed only if it differs from crdate?
> 

Hi Steffen,
did you ever find the TS solution for this one. I am looking for exactly 
that.

Cheers and thx,
Martin Chemnitz


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