Questions and discussions

Change start date for 'Image date taken'

Discuss template's customization

Change start date for 'Image date taken'

Postby kevindotw » Mon Aug 25, 2014 10:25 am

When editing images the year for ‘date taken’ starts at 2009.
How do I change this to start at 1980?

I’ve looked through the code and googled for the smarty function_html_select_date tried all the suggestions and can’t get anything to work. I’m probably not changing all the code that is required to make the change.

Any ideas?
Posts: 1
Joined: Wed Aug 20, 2014 8:22 pm

Re: Change start date for 'Image date taken'

Postby admin » Wed Aug 27, 2014 6:00 am

This is a date of the publication on the site - not a date of the photo's creation. You are able to enlarge the period. But anyway it cannot be earlier than 01/01/1970 (date of Unix creating).
I advice you to use 'description' or 'category' properties for 1980 date.

You should edit the file:

function admin_date($data,$field)

Code: Select all
Site Admin
Posts: 1458
Joined: Sun Mar 07, 2010 5:55 pm

Return to Design & Templates

Who is online

Users browsing this forum: No registered users and 1 guest

  Photo Store Script

Professional php photo stock script and WordPress plug-in for photographers and video producers.

  CMSaccount Inc.