Conflict with Login Add-On

Permalink Browser Info Environment
I initially thought this was an error with the Simple Facebook Gallery and Login but it is with the Fancy Box scripts because it is also affecting my Sortable Fancy Box.

What is happening is the links are not clickable. i.e. you click a thumbnail and nothing happens.

This is the error being thrown:
Uncaught TypeError: Cannot call method 'hide' of undefined


Isn't the .hide method deprecated? Could that be the issue here? Does there need to be an update to the add-on or the CMS itself so it is calling the right version to use?

Type: Discussion
Status: New
Eddie5
View Replies: View Best Answer
jordanlev replied on at Permalink Best Answer Reply
jordanlev
This is probably due to the fact that all of those addons are using the "fancybox" javascript plugin, and they are conflicting with each other. There are a couple of ways to solve this -- for example, see:http://www.concrete5.org/marketplace/addons/sortable-fancybox-galle...

...but that might only solve it for one of the addons and not all of them. I need to see the code of those other addons in order to know how to solve it for all of them. If they're all free addons, then please post links to the marketplace pages for each of those so I know which ones you're referring to. If any of them is a paid addon, you'll need to open a support request with the developers there and start a discussion with them about how it can be solved (and feel free to put them in touch with me so I can help them).

-Jordan
Eddie5 replied on at Permalink Reply
Eddie5
I have all of the same free add-ons used on another site with no problems, minus the Login add-on.

Here's the ones affected for the install:
http://www.concrete5.org/marketplace/addons/sortable-fancybox-galle...
http://www.concrete5.org/marketplace/addons/simple-facebook-gallery...
http://www.concrete5.org/marketplace/addons/login_block/...

With the login add-on removed the other two work perfect. The only affected functionality is the lightbox. I have the Login add-on in a jQuery panel I built, but removing it from that and just having it standard on a page also breaks the other add-ons.

My login panel is on every page of the site.
Eddie5 replied on at Permalink Reply
Eddie5
Well I finally got to the bottom of the issue. Thanks to Jordan and GregJoyce's tips. I have posted this to the original thread I started when I first encountered this problem:

http://www.concrete5.org/marketplace/addons/login_block/questions-a...

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.