Guestbook stops nivo slider in template

Phoca Guestbook - creating guestbooks in Joomla! CMS
stef101
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Sep 2014, 23:44

Guestbook stops nivo slider in template

Post by stef101 »

I have installed the latest guestbook.

We have a "Nivo slider" (java script) in our template but when we go to the guestbook, the sliders stops.

What can be the problem ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Guestbook stops nivo slider in template

Post by Jan »

Hi, hmm, this can be some conflict when two different modules are loaded on one page and their javascript libraries are in conflict?

Do you get any javascript error there?
https://www.phoca.cz/documents/16-joomla ... -conflicts
Jan
If you find Phoca extensions useful, please support the project
stef101
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Sep 2014, 23:44

Re: Guestbook stops nivo slider in template

Post by stef101 »

Thanks for the reply Jan.

I've started the debugger but I don't see a problem at first sight.

The website is http://www.kinderdagverblijf-droom.be/

You see a slider moving but when you click on "Gastenboek" (The guestbook) you see that the slider stops. It is not that urgent but I cannot see where
the problem is.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Guestbook stops nivo slider in template

Post by Jan »

Hi, hmm, on your site, I get two javascript error (on your home page):
Timestamp: 8. 9. 2014 15:01:53
Error: ReferenceError: browser is not defined
Source File: http://www.kinderdagverblijf-droom.be/t ... /script.js
Line: 1389

Timestamp: 8. 9. 2014 15:01:53
Error: TypeError: $(...).off is not a function
Source File: http://www.kinderdagverblijf-droom.be/t ... ponsive.js
Line: 262

On the site with Phoca Guestbook I see about four javascript errors, do you get the same problem with another template (some standard template)?

Jan
If you find Phoca extensions useful, please support the project
stef101
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Sep 2014, 23:44

Re: Guestbook stops nivo slider in template

Post by stef101 »

Thanks Jan,

i've used another debugger but now i've installed firebug. Now I see the errors you describe.

The guestbook works fine with the standard template so I think that we can probably conclude that the .js scripts are conflicting :(

I have not created the template but I see that the creator uses the nivo slider that you can download on following site:
http://dev7studios.com/plugins/nivo-slider/

I've tried another guestbook as a test and with the guestbook I have the same problem.

I've adapted the template (remove another script) but I am not a specialist.

As I said before. This is not an urgent problem but any advise you can give me is appreciated. This site is for a children day care center where my wife is working.

Thanks a lot.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Guestbook stops nivo slider in template

Post by Jan »

Hi, unfortunately I am not javascript expert so this is more a question on the template developer :idea: :-(

Jan
If you find Phoca extensions useful, please support the project
stef101
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 05 Sep 2014, 23:44

Re: Guestbook stops nivo slider in template

Post by stef101 »

No problem Jan,

I will try to fix it. Now I know where to look.

Thank for your help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Guestbook stops nivo slider in template

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply