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: If there is no image to display  (Read 2896 times)

0 Members and 1 Guest are viewing this topic.

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
If there is no image to display
« on: November 20, 2007, 08:42:34 pm »

I've changed the line of text it says when you search and there is no image to display to '0 Results Found' but I want to add a link to my request forum, I've tried the a href tag and it throws all the gallery off

Thanks ;)
« Last Edit: November 21, 2007, 07:11:58 am by GauGau »
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: If there is no image to display
« Reply #1 on: November 20, 2007, 08:48:53 pm »

did you just add code like this -
Code: [Select]
<a href="file.php" > file </a>?
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: If there is no image to display
« Reply #2 on: November 20, 2007, 08:53:17 pm »

well I changed this

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

Code: [Select]
'no_img_to_display' => '0 Results Found, would you like to make a <a href="http://cdcoverhideout.com/newforum/index.php?s=ae50547dfd4338803b69ce73c2684c60&showforum=19">request'</a>,
Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: If there is no image to display
« Reply #3 on: November 20, 2007, 08:59:05 pm »

What is the error you are getting?
Logged
Tambien, Hablo Espaņol      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: If there is no image to display
« Reply #4 on: November 20, 2007, 09:06:21 pm »

Parse error: parse error, unexpected '/' in /home/content/w/i/l/willtaka05/html/gallery/lang/english_gb.php on line 86
Logged

will

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 263
Re: If there is no image to display
« Reply #5 on: November 20, 2007, 09:08:30 pm »

its ok sorted, put ' in the wrong place ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: If there is no image to display
« Reply #6 on: November 21, 2007, 07:11:44 am »

Code: [Select]
'no_img_to_display' => '0 Results Found, would you like to make a <a href="http://cdcoverhideout.com/newforum/index.php?s=ae50547dfd4338803b69ce73c2684c60&showforum=19">request'</a>,must be
Code: [Select]
'no_img_to_display' => '0 Results Found, would you like to make a <a href="http://cdcoverhideout.com/newforum/index.php?s=ae50547dfd4338803b69ce73c2684c60&showforum=19">request</a>', - you put the single quote at the wrong spot.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.