Hide infos last add and album view Hide infos last add and album view
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Hide infos last add and album view

Started by synopgtr, December 05, 2019, 12:24:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

synopgtr

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

ron4mac

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

synopgtr

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...

ron4mac

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.

ron4mac

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

synopgtr