coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: MarianneC on August 26, 2008, 07:28:49 AM

Title: Which file does the javascript code come from in displayimage.php?
Post by: MarianneC on August 26, 2008, 07:28:49 AM
On this page:

http://useaboston.com/2008a/displayimage.php?album=1&pos=17

in internet explorer,  when you mouseover the main image, the javascript says "Click here to view full size image" -- where is that verbiage coming from?  I need to eliminate it, but I can't find the text.

I should be able to figure this out, but I haven't made any headway on this issue for a bit.

Many thanks,
Marianne
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: Joachim Müller on August 26, 2008, 07:51:23 AM
The full-size pop-up isn't opening because of this: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup

The words "Click here to view full size image" are being defined in your language file, e.g. lang/english.php

The JavaScript bits that compose the link can be overridden by editing themes/yourtheme/theme.php
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: MarianneC on August 26, 2008, 07:59:30 AM
Thanks Joachim.

I do have that line in my template - but I can see that it isn't showing up in the source for that page.  Any idea why that would occur?

(Meanwhile, I can go look in the language file...)

Marianne
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: Joachim Müller on August 26, 2008, 08:05:01 AM
I already told you:
Quote from: Joachim Müller on August 26, 2008, 07:51:23 AM
The full-size pop-up isn't opening because of this: http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#noFullsizePopup
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: MarianneC on August 26, 2008, 02:10:11 PM
Sorry - wrong question.

I understood that the faq is saying that the reason the message comes up is because the javascript functions are not there.

However, that line of code *is* in my template and does show up in the source.  The javascript functions are not happening, however.

That's the part that is confusing to me.

Marianne
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: Nibbler on August 26, 2008, 02:26:04 PM
Upload a clean copy of scripts.js. You've done something to it to put it all on one line which has stopped it working.
Title: Re: Which file does the javascript code come from in displayimage.php?
Post by: MarianneC on August 26, 2008, 03:00:46 PM
Woo hoo!  Thanks Nibbler.

I have always used ws-ftp, but it is doing something really odd on this server, and I've had to stop using auto, and specify how I want each file transferred.  bizarre.