Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Display "upload-date" in thumbnail gallery  (Read 4396 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.017 seconds with 20 queries.