Welcome to Geeklog, Anonymous Thursday, November 14 2024 @ 06:45 pm EST
Geeklog Forums
Post Dates
Tom Terry
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
Tom Terry
31
12
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Good question. You can edit the code in lib-common.php around line 5748
Change the startoffset value to -10 to be able to go back 10 years.
Like this
One of the Geeklog Core Developers.
Text 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
Text Formatted Code
function COM_getYearFormOptions($selected = '', $startOffset = -10, $endOffset = 5)One of the Geeklog Core Developers.
12
11
Quote
Tom Terry
Anonymous
Thanks much!
Tom
Tom
18
10
Quote
All times are EST. The time is now 06:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content