Loading...
 
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

Image
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

sylvie

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting