coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jcarpio on September 24, 2004, 07:24:55 PM

Title: "No image to display"
Post by: jcarpio on September 24, 2004, 07:24:55 PM
I made my registered test users albums, only viewable by other registered users, now when a visitor comes to the site he/she will see "no image to display", which is fine, but I am hoping to edit this line and enter "You must register to view albums / photos".  I mapped to themes/hardwired and am using 'nano' to edit the code, the one template.html looks like the one I need to edit, but I do not see the register section. 

Is 'nano' the wrong editor to use, am I looking in the wrong place or is this not editable?

Thanks again,

~Jeff
Title: Re: "No image to display"
Post by: Tranz on September 24, 2004, 07:41:06 PM
Look in the pertinent language file in the lang folder. Do a search for "no image to display" and replace.

You just need any regular text editor to do this.
Title: Re: "No image to display"
Post by: Casper on September 24, 2004, 07:41:23 PM
It's in your language file.

Look for 'no_img_to_display', and edit the phrase accordingly.
Title: Re: "No image to display"
Post by: jcarpio on September 24, 2004, 08:50:30 PM
Thank you "TranzNDance and Casper" ... it worked perfectly.

~Jeff
Title: Re: "No image to display"
Post by: Casper on September 24, 2004, 08:58:07 PM
There is the official way of doing this, as explained here in the faq (http://coppermine.sourceforge.net/faq.php#viewThumbnailsOnly), which means you don't even have to change the album settings.