Topic Closed

I am converting a wordpress site to gpeasy and need to rewrite all its older news items into gpeasy's simpleblog addon. How do I backdate the news items? I checked out the file created inside the data addon folder but can't make out head or tail of the post time format written. Even the (about) link doesn't help as it takes me to php.net's manual page but the info given in my posts php page is unreadable as any date format. How do I achieve this? Or else how can I switch off dates altogether?

10 years ago#737

cs
80 Posts

Hi,

had the same problem.

You can 'switch' of the date by just inserting a blank into the Date-Format field in blog-configuration.

For changing the date manually you have to change the time parameter in the php-file where the blogs are stored (...data/_addondata/Simple_Blog/posts_0.php) e.g. $posts[1]['time'] = 552009600;

The used time/date format is the unix-time-stamp, you can google for it will find a lot of online-converters for this.

worked fine for me, have fun

Carsten.

Edited: 10 years ago#740

Thanks. Will do so.

10 years ago#741

Doesn't work. I'm working on 1.7a4. I delete it but it reappears after SAVE.

Can we have editable dates please?

EDIT: Ok. I just have to add a blank space in the date field and it stays blank after that.

Edited: 10 years ago#814

cs
80 Posts

Hi,

deleting the date-format entry does not work! You have to insert at least one 'blank'. Try it, it works with 1.7a4.

Carsten.

10 years ago#821

Yup. Did that. Works. Mentioned in my EDIT above.

10 years ago#825

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register