Welcome to Geeklog, Anonymous Sunday, November 24 2024 @ 07:51 am EST
Geeklog Forums
WANTED: Post Date Hack will pay
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
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
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
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
19
16
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
In public_html/lib-common.php, find the function COM_getYearFormOptions and change the line:
to
That should work in 1.3.11 and 1.4.0.
Text Formatted Code
for( $i = $start_year - 1; $i <= $cur_year + 5; $i++ )Text Formatted Code
for( $i = 2000; $i <= $cur_year + 5; $i++ )
14
18
Quote
Status: offline
jhackwith
Forum User
Chatty
Registered: 07/24/04
Posts: 63
Location:Lewiston, Idaho
Thank you so much! I must have looked at that six times without seeing that line. Code + lack of sleep = duhhhhhhrrrr
Thanks again,
Jason
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
Thanks again,
Jason
"Beauty... is the shadow of God on the universe." ~ Gabriela Mistral -- DesolacÃon
17
17
Quote
All times are EST. The time is now 07:51 am.
- 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