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: Hide infos last add and album view  (Read 4371 times)

0 Members and 1 Guest are viewing this topic.

synopgtr

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Hide infos last add and album view
« on: December 05, 2019, 12:24:55 pm »

Hi,
before I modified index.php to hide these informations. Since I do a clean install in 1.6 I can't find how hide "last photo add on date and album view".
Somebody can help me ?

Thanks
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Hide infos last add and album view
« Reply #1 on: December 06, 2019, 01:23:04 pm »

You could use this plugin to control thumbnail captions. Just set it to clear the caption where you want none.
Logged

synopgtr

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hide infos last add and album view
« Reply #2 on: December 12, 2019, 01:52:38 pm »

Thanks
I tried it but it doesn't work.
I let blank field but nothing change.

here is a sceen capture. I talk about info in italic at the bottom of the page.
It's in french sorry...
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Hide infos last add and album view
« Reply #3 on: December 12, 2019, 02:58:37 pm »

You will have to do it in your theme.

Insert this in your <your_theme_folder>/theme.php file:
Code: [Select]
function theme_album_info($pic_count, $link_pic_count, $last_upload_date)
{
     return '';
}

That may do what you want.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Hide infos last add and album view
« Reply #4 on: December 13, 2019, 02:14:00 pm »

Just there is still "number view album"
You can remove that in the language file:

Code: [Select]
//$lang_list_albums['alb_hits'] = 'album visualisé %s fois';
 $lang_list_albums['alb_hits'] = '';
Logged

synopgtr

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Hide infos last add and album view
« Reply #5 on: December 22, 2019, 11:51:15 am »

Thanks
It's working
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.