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: Modify Latest Additions code  (Read 3684 times)

0 Members and 1 Guest are viewing this topic.

TiNUZ

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Modify Latest Additions code
« on: September 01, 2010, 01:17:44 pm »

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

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Modify Latest Additions code
« Reply #1 on: September 01, 2010, 04:16:00 pm »

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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Modify Latest Additions code
« Reply #2 on: September 01, 2010, 09:21:28 pm »

Is this not themeable Andre?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Modify Latest Additions code
« Reply #3 on: September 02, 2010, 08:30:16 am »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Modify Latest Additions code
« Reply #4 on: September 02, 2010, 12:33:11 pm »

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

for the lastup you need to modify
Code: [Select]
$lang_date['lastup'] = '%B %d, %Y';comment it out and replace with
Code: [Select]
$lang_date['lastup'] = '';
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.