Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Change appearance for non users  (Read 3288 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.018 seconds with 19 queries.