Loading...
 
Features / Usability

Features / Usability


Re: Re: Re: Re: Date and Time stamp in Blog

posts: 131 Singapore
> Image
Copy to clipboard
$query = "update `tiki_blogs` set `lastModif`=? where `blogId`=?"; > $result = $this->query($query,array(date('U'),(int) $blogId));

> in the same routine

The above hack has no effect on the last modified date when I tried changing the date of the blog post. I cracked my head but do not understand why the last modified date still does not change. ????? Do you have any idea??rolleyes

> perhaps better to have $now=date('U') and use $now in the both place to have the same date in the post and the blog
I have tried using $now in replace of date("U") but still does not work...please help.cry

I have also found out that if I do an Edit Blog selection, now the Last Modified date and time stamp changes. Why is this happening in the Edit Blog and not from the posting itself?! Baffling me quite a bit.....Appreciate anyone's enlightment on this...

TIA.

--kwow

There are no comments at this time.