Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Display "upload-date" in thumbnail gallery  (Read 4371 times)

0 Members and 1 Guest are viewing this topic.

BOO3

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Display "upload-date" in thumbnail gallery
« on: January 28, 2005, 01:01:00 am »

For a small fee I'd like a "upload date stamp" to display in the thumbnail gallery.

After countless hours of searching most user requests are different than mine: sort/display pictures by EXIF, modifying calendars.php, etc...none of which I want. CPG by default automatically displays upload-date with a mouse-over inside the thumbnail gallery
(Pls. see linke for example: http://coppermine.sourceforge.net/demo/thumbnails.php?album=1).

I need the date to be displayed WITHOUT a mouse over: similar to the section called "last additions."   

At this point I don't know if its possible. Maybe a freelancer is required for this particular hack. Pls. verify. Thank you.

« Last Edit: January 28, 2005, 10:16:42 pm by TranzNDance »
Logged

foulu

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 236
  • uhm
Re: Display "upload-date" in thumbnail gallery
« Reply #1 on: January 28, 2005, 08:45:29 am »

Okey, open file function.inc.php in include folder

find:

$caption .= "</span>";

and replace with:

$caption .= '</span><span class="thumb_caption">'.$lang_display_thumbnails['date_added'].localised_date($row['ctime'], $album_date_fmt).'</span>';

« Last Edit: January 28, 2005, 08:51:43 am by foulu »
Logged

BOO3

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Display "upload-date" in thumbnail gallery
« Reply #2 on: January 28, 2005, 10:14:58 pm »

FoulU,

wow!  :o

it works. Thank you.

</Pls. close>
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.