thaflo
Posts: 4
Joined: Sun Jan 19, 2014 11:40 am

Different behaviour of onclick if logged in or not

Hi,

first thanks for the Highslide component, it's really a worth plus og a site.

I really tried to solve the problem myself, but without success.

All works fine on my site, until I login, then, instead of opening a highslide frame, the image is loaded separately as an URL.

the site: ***.thaler-online.com

Thanks much in advance,
Florian
Last edited by thaflo on Mon Jan 20, 2014 12:08 pm, edited 1 time in total.
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Different behaviour of onclick if logged in or not

You're going to have to provide us with some sort of login credentials before anyone else can debug this. We can't login, so we can't see the error.
thaflo
Posts: 4
Joined: Sun Jan 19, 2014 11:40 am

Re: Different behaviour of onclick if logged in or not

of course :)
user****
pw*****
Last edited by thaflo on Mon Jan 20, 2014 12:07 pm, edited 1 time in total.
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Different behaviour of onclick if logged in or not

The Highslide expander works for me, whether I'm logged in or not.

However, when logging in, I get this warning:

Notice: Use of undefined constant MSG_LOGIN_SUCCESS - assumed 'MSG_LOGIN_SUCCESS' in /home/thaflo/thaler-online.com/ollerhond/inc/login.php on line 24
thaflo
Posts: 4
Joined: Sun Jan 19, 2014 11:40 am

Re: Different behaviour of onclick if logged in or not

hi and thanks for trying! (the english language file was not up to date, so the error of the undefined constant)
I assume you're not using Googles Chrome?

I tried it now with Firefox, where it works like it should.

Though the error is a bit specified now, I do'nt know where to look exactly ...

regards,
Florian
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Different behaviour of onclick if logged in or not

I believe the problem is that you have the addSlideshow() function both in your page code, and in your highslide.config.js file, but with conflicting values in each. One is using a slideshow group, and the other isn't. One is using a thumbstrip, and the other isn't. The list goes on. Bad idea.
thaflo
Posts: 4
Joined: Sun Jan 19, 2014 11:40 am

Re: Different behaviour of onclick if logged in or not

Hi MisterNeutron,

thank you very much for your help, indeed this doubled hs.addSlideShow() was the error!

Thanks and have a nice day!

Florian
MisterNeutron
Posts: 440
Joined: Sun Aug 18, 2013 11:20 am

Re: Different behaviour of onclick if logged in or not

Glad that took care of it. :)

Return to “Highslide JS Usage”