Display "upload-date" in thumbnail gallery Display "upload-date" in thumbnail gallery
 

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]

Main Menu

Display "upload-date" in thumbnail gallery

Started by BOO3, January 28, 2005, 01:01:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BOO3

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.


foulu

#1
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>';


BOO3

FoulU,

wow!  :o

it works. Thank you.

</Pls. close>