Features / Usability

Features / Usability

Re: Date and Time stamp in Blog

posts: 1092

There is only a created date in the database. We need to add an additional column to tiki-blog_posts
if you want to do a big trick by updating the created date in the function update_post in lib/blogs/bloglib.php do

$query = "update `tiki_blog_posts` set `blogId`=?,`trackbacks_to`=?,`data`=?,`user`=?,`title`=?, `created`=? where `postId`=?"; $result = $this->query($query,array($blogId,$trackbacks,$data,$user,$title,date("U"), $postId));

code with no garantie