forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: zac on November 02, 2005, 12:17:56 pm

Title: Change appearance for non users
Post by: zac on November 02, 2005, 12:17:56 pm
Hi.. the default for coppermine when not logged in and all galleries are private is the message No Image to Display.  How much can I tweak this page?  Where can I change the message?  Is it possible to control the rest of the style of the page that one only sees if they are not logged in?

Thanks for any help with this.

Title: Re: Change appearance for non users
Post by: Abbas Ali on November 02, 2005, 12:24:54 pm
The message can be changed in lang/english.php file.

Find
Code: [Select]
  'no_img_to_display' => 'No image to display',

and change it to whatever you want.

Note:   'No image to display' is not just used when someone access private album but this line is used in many other places too. Hence changing this message will affect them all.
Title: Re: Change appearance for non users
Post by: zac on November 02, 2005, 09:54:48 pm
Thank you.  Is it possible to modify the style of this text? 
Title: Re: Change appearance for non users
Post by: Abbas Ali on November 03, 2005, 06:15:33 am
Well to just change the style append the html with the string.

Code: [Select]
'no_img_to_display' => '<font face="xxx">No image to display</font>',

or anything like that.
Title: Re: Change appearance for non users
Post by: zac on November 03, 2005, 09:09:56 am
Ahh ok.. thanks.  I didnt realize I could do that.