Posted on: 10/31/06 02:08am
By: jhackwith
I'll be happy to pay someone for this information if necessary.
What I'm looking for is a way to change the default list of years that are available in the drop-down menu on the Submit form.
I've been blogging for 5+ years, and I have posts from as far back as 2001 that I would like to post to my current blog running in Geeklog. Right now, when I post a story I can only select between 2005 and 2011 as the year. I'd like to be able to add earlier years to those posts so that my current blog can be accurate as to date and time of the actual post.
I'm more of a designer than a developer, and I'm sure I've looked at the relevant code at least six times now but I just can't seem to find it.
Thanks in advance,
Jason
WANTED: Post Date Hack will pay
Posted on: 10/31/06 03:35am
By: jmucchiello
In public_html/lib-common.php, find the function COM_getYearFormOptions and change the line:
for( $i = $start_year - 1; $i <= $cur_year + 5; $i++ )
to
for( $i = 2000; $i <= $cur_year + 5; $i++ )
That should work in 1.3.11 and 1.4.0.
WANTED: Post Date Hack will pay
Posted on: 10/31/06 11:24am
By: jhackwith
Thank you so much! I must have looked at that six times without seeing that line. Code + lack of sleep = duhhhhhhrrrr
Thanks again,
Jason