forum.coppermine-gallery.net

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:
Code: [Select]
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
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'] = '';
Title: Re: Hide infos last add and album view
Post by: synopgtr on December 22, 2019, 11:51:15 am
Thanks
It's working