Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Change appearance for non users  (Read 2669 times)

0 Members and 1 Guest are viewing this topic.

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Change appearance for non users
« 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.

« Last Edit: November 03, 2005, 09:10:47 am by GauGau »
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Change appearance for non users
« Reply #1 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.
Logged
Chief Geek at Ranium Systems

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: Change appearance for non users
« Reply #2 on: November 02, 2005, 09:54:48 pm »

Thank you.  Is it possible to modify the style of this text? 
Logged

Abbas Ali

  • Administrator
  • Coppermine addict
  • *****
  • Country: in
  • Offline Offline
  • Gender: Male
  • Posts: 2165
  • Spread the PHP Web
    • Ranium Systems
Re: Change appearance for non users
« Reply #3 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.
Logged
Chief Geek at Ranium Systems

zac

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 153
Re: Change appearance for non users
« Reply #4 on: November 03, 2005, 09:09:56 am »

Ahh ok.. thanks.  I didnt realize I could do that.
Logged
Pages: [1]   Go Up
 

Page created in 0.054 seconds with 19 queries.