Modify Latest Additions code Modify Latest Additions code
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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