sortable fancybox just hangs
Permalink
trying to add and use the sortable fancybox gallery and it just sits there. the spinning logo for getting file set just keeps going around.
Really stuck - any ideas please
Really stuck - any ideas please
Thanks again John, will have ago but failing that I'll have to look at something else, maybe add jquery normally as I would outside c5.
Cheers once again though.
Cheers once again though.
Had the same issue, Extracted following code from view.js (of pop_up login box) and disabled it and place the code in header/footer.php of your theme.
$(document).ready(function() {
$(".login-popup-link").fancybox({
'titlePosition': 'inside',
'transitionIn': 'none',
'transitionOut': 'none'
});
});
$(document).ready(function() {
$(".login-popup-link").fancybox({
'titlePosition': 'inside',
'transitionIn': 'none',
'transitionOut': 'none'
});
});
A few people have had this problem before -- it's usually because the addon was installed the wrong way. The addon is a package and the entire package needs to be placed in your site's "packages" directory. You can't just take out the block and put that in your "blocks" directory.
BTW, there are 2 places you can go with questions about addons -- the "Support" and the "Questions & Discussions" (sometimes called "Forums" too) -- both of these links are on the marketplace page for each addon.
Often, there will already be something posted from someone else who had a similar issue. If not, and you post a new question, then the addon author will be notified by email. (As it happens, I just randomly stumbled on this post -- otherwise I wouldn't have seen it).
BTW, there are 2 places you can go with questions about addons -- the "Support" and the "Questions & Discussions" (sometimes called "Forums" too) -- both of these links are on the marketplace page for each addon.
Often, there will already be something posted from someone else who had a similar issue. If not, and you post a new question, then the addon author will be notified by email. (As it happens, I just randomly stumbled on this post -- otherwise I wouldn't have seen it).
Thanks very much Jordan, you are right, I did install it in the blocks folder I'll now change it and have a go.
Much appreciated, have a good day :-)
Much appreciated, have a good day :-)
Works a treat, thanks again Jordan
(if you look in the developer console log you will see an appropriate error message)
To confuse it further, sometimes a plugin is patched into a file with a name nothing like that of the plugin (like view.js) because that was the only way for an add-on to get it to load at the time.
I got caught out on that a few months back. The popup login block includes fancybox within view.js, and the sortable fancybox gallery also includes it. Hence a jQuery duplicate declaration.
The solution is to hack the code to delete fancybox from one or the other blocks (or both and load it in the template, which is what I did).
There was some discussion on integrating a solution for this into C5, but has gone quiet lately with the push on 5.5. I don't know what the current status is.