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: [Solved]: Altering date information on Last Additions?  (Read 2498 times)

0 Members and 1 Guest are viewing this topic.

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
[Solved]: Altering date information on Last Additions?
« on: September 25, 2008, 12:08:37 pm »

Is there a way to alter the date information on the Last Additions. Ideally I am looking for a way to add "added" as a prefix to the date. i.e "Sep 25, 2008" becomes "added Sep 25, 2008"
« Last Edit: September 25, 2008, 10:32:42 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Altering date information on Last Additions?
« Reply #1 on: September 25, 2008, 08:15:03 pm »

Modify your language file eg. lang/english.php
Logged

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Altering date information on Last Additions?
« Reply #2 on: September 25, 2008, 09:15:37 pm »

thanks nibbler
please could you be more specific of which line and coding is to changed?
Logged

Nibbler

  • Guest
Re: Altering date information on Last Additions?
« Reply #3 on: September 25, 2008, 09:46:07 pm »

Change

Code: [Select]
$lastup_date_fmt = '%B %d, %Y';
to

Code: [Select]
$lastup_date_fmt = 'added %B %d, %Y';
Logged

crl

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 81
Re: Altering date information on Last Additions?
« Reply #4 on: September 25, 2008, 10:15:29 pm »

thank you so much!
your coding did the trick!

crl
 :)
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.