Re: Date and Time stamp in Blog
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
Copy to clipboard
$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