Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:45 am EST

Geeklog Forums

Publish Date


Status: offline

arthur

Forum User
Junior
Registered: 10/10/03
Posts: 34
How can I customize the year range for a story's publish date on the Story Admin screen? The pull-down menu used to allow me to publish in past years, but since January 1 only gives me 2004 and later.

I was able to change the year range in story.php by editing this line:

Text Formatted Code
$story_templates->set_var('publish_year_options', $year_options);
 


but it also changed the default year to 2001. Is there a way to change the range of years AND have the default publish year be the current unix year?
Arthur (http://www.shrednow.com)
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
See here.

bye, Dirk
 Quote

All times are EST. The time is now 06:45 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