coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: will on November 20, 2007, 08:42:34 PM

Title: If there is no image to display
Post by: will 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 ;)
Title: Re: If there is no image to display
Post by: just_some_guy on November 20, 2007, 08:48:53 PM
did you just add code like this - <a href="file.php" > file </a>?
Title: Re: If there is no image to display
Post by: will on November 20, 2007, 08:53:17 PM
well I changed this

'no_img_to_display' => 'no image to display',

to

'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>,
Title: Re: If there is no image to display
Post by: just_some_guy on November 20, 2007, 08:59:05 PM
What is the error you are getting?
Title: Re: If there is no image to display
Post by: will 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
Title: Re: If there is no image to display
Post by: will on November 20, 2007, 09:08:30 PM
its ok sorted, put ' in the wrong place ;)
Title: Re: If there is no image to display
Post by: Joachim Müller on November 21, 2007, 07:11:44 AM
'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'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.