coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 miscellaneous => Topic started by: synopgtr on December 05, 2019, 12:24:55 PM

Title: Hide infos last add and album view
Post by: synopgtr 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
Title: Re: Hide infos last add and album view
Post by: ron4mac on December 06, 2019, 01:23:04 PM
You could use this plugin (https://forum.coppermine-gallery.net/index.php/topic,79534.0.html) to control thumbnail captions. Just set it to clear the caption where you want none.
Title: Re: Hide infos last add and album view
Post by: synopgtr 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...
Title: Re: Hide infos last add and album view
Post by: ron4mac 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:
function theme_album_info($pic_count, $link_pic_count, $last_upload_date)
{
     return '';
}


That may do what you want.
Title: Re: Hide infos last add and album view
Post by: ron4mac on December 13, 2019, 02:14:00 PM
Quote from: synopgtr on December 13, 2019, 01:42:28 PM
Just there is still "number view album"
You can remove that in the language file:

//$lang_list_albums['alb_hits'] = 'album visualisé %s fois';
$lang_list_albums['alb_hits'] = '';
Title: Re: Hide infos last add and album view
Post by: synopgtr on December 22, 2019, 11:51:15 AM
Thanks
It's working