Subject: Post Dates

Posted on: 27/10/2017 06:02pm
By: Anonymous

I have recently moved my old blogspot site to Geeklog but have one problem. As I move my articles over the Geeklog I cannot post anything with a date prior to 2016. But I have several years of articles with earlier dates I need to post. Is there a work-around or code edit that I can do to allow for additional years in the date for posts?

Tom Terry

Re: Post Dates

Posted on: 28/10/2017 10:42am
By: Laugh

Good question. You can edit the code in lib-common.php around line 5748

PHP Formatted Code
function COM_getYearFormOptions($selected = '', $startOffset = -1, $endOffset = 5)


Change the startoffset value to -10 to be able to go back 10 years.

Like this

PHP Formatted Code
function COM_getYearFormOptions($selected = '', $startOffset = -10, $endOffset = 5)

Re: Post Dates

Posted on: 28/10/2017 01:39pm
By: Anonymous

Thanks much!

Tom

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=96641