Modify Latest Additions code Modify Latest Additions code
 

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

Modify Latest Additions code

Started by TiNUZ, September 01, 2010, 01:17:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TiNUZ

Hi All,

I've tried to find an answer to my questions by using the search, but no results....

I'm trying to remove the date from the 'latest additions' album, but I cannot find the code for it.
What file do I have to modify ?

http://www.photodump.nl/micropix/gallery/index.php


Αndré

Open include/functions.inc.php, search for
case 'lastup':
scroll down ~ 40 lines until you find
build_caption($rowset, array('ctime'));
and replace that line with
build_caption($rowset);

phill104

It is a mistake to think you can solve any major problems just with potatoes.

Αndré

Maybe it's possible. But I doubt that this would be an easy modification. Could be achieved with a plugin though.

Stramm

I think that's to be done in the lang file (array $lang_date)

for the lastup you need to modify
$lang_date['lastup'] = '%B %d, %Y';
comment it out and replace with
$lang_date['lastup'] = '';