Modify Latest Additions code Modify Latest Additions code
 

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

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'] = '';