- Posts: 21
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- AllVideos Javascript conflit with Headroom Gantry 5 Atom
AllVideos Javascript conflit with Headroom Gantry 5 Atom
- NIccolò Angeli
- Topic Author
- Offline
- Junior Member
Less
More
5 years 11 months ago #168013
by NIccolò Angeli
AllVideos Javascript conflit with Headroom Gantry 5 Atom was created by NIccolò Angeli
Joomla: 3.8.7
Allvideos: 4.8.0
Hello,
I have installed this Atom (www.inspiretheme.com/documentation/gantry5-particles/headroom-js) on a Gantry 5 Rockettheme Template (Galatea).
The "Headroom.js" atom fixes the site header and it loads the Headroom.js script to provide some animation options. For example, you can specify how the fixed element will get hidden - by sliding, swinging, flipping or bouncing.
The problem is that it conflicts with Allvideos plugin, when the plugin is enabled the Atom does not work, the site menu is not expandable anymore, and I get this error in console
Uncaught TypeError: $(...).headroom is not a function
at dispatch (jquery.js?dd4db3412883b9c1f67fd7f95fdc91d5:5226)
at elemData.handle (jquery.js?dd4db3412883b9c1f67fd7f95fdc91d5:4878)
Any chanche you can take a look at the headroom.js code and see if it possible to update Allvideo to avoid this conflict?
I attach the file below.
I cannot give you a link to test because I had to disable the atom on my live site, but in case I can give you private superuser access to a test site.
Thanks!
Allvideos: 4.8.0
Hello,
I have installed this Atom (www.inspiretheme.com/documentation/gantry5-particles/headroom-js) on a Gantry 5 Rockettheme Template (Galatea).
The "Headroom.js" atom fixes the site header and it loads the Headroom.js script to provide some animation options. For example, you can specify how the fixed element will get hidden - by sliding, swinging, flipping or bouncing.
The problem is that it conflicts with Allvideos plugin, when the plugin is enabled the Atom does not work, the site menu is not expandable anymore, and I get this error in console
Uncaught TypeError: $(...).headroom is not a function
at dispatch (jquery.js?dd4db3412883b9c1f67fd7f95fdc91d5:5226)
at elemData.handle (jquery.js?dd4db3412883b9c1f67fd7f95fdc91d5:4878)
Any chanche you can take a look at the headroom.js code and see if it possible to update Allvideo to avoid this conflict?
I attach the file below.
I cannot give you a link to test because I had to disable the atom on my live site, but in case I can give you private superuser access to a test site.
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
5 years 11 months ago #168019
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Make sure that jQuery is being loaded before all scripts and also make sure that only one instance of jQuery is being loaded.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
5 years 11 months ago #168025
by NIccolò Angeli
Replied by NIccolò Angeli on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Thank you,
but any suggestion for non-coders on how to do this?
I tried to install and activate this plugin simplifyyourweb.com/documentation/jquery-easy/jquery-options
but it doesn't solve the issue
but any suggestion for non-coders on how to do this?
I tried to install and activate this plugin simplifyyourweb.com/documentation/jquery-easy/jquery-options
but it doesn't solve the issue
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
5 years 11 months ago - 5 years 11 months ago #168032
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Hello NIccolò,
Can you send me a link to your dev site?
No need to push it to public, I only need to see one page.
Can you send me a link to your dev site?
No need to push it to public, I only need to see one page.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 5 years 11 months ago by Krikor Boghossian.
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
5 years 11 months ago - 5 years 11 months ago #168034
by NIccolò Angeli
Replied by NIccolò Angeli on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
You mean via PM (I can't find the option in the forum...) or via the site contact form?
The test site is offline so I need to send you a superuser access, can't post it here...
Thanks!
The test site is offline so I need to send you a superuser access, can't post it here...
Thanks!
Last edit: 5 years 11 months ago by NIccolò Angeli.
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
5 years 11 months ago #168038
by NIccolò Angeli
Replied by NIccolò Angeli on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
5 years 10 months ago #168083
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Try loading the Headroom's scripts locally (if there is an option) or if this isn't an option you need to contact the extension's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
5 years 10 months ago #168084
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Try loading the Headroom's scripts locally (if there is an option) or if this isn't an option you need to contact the extension's developer.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- NIccolò Angeli
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
5 years 10 months ago #168088
by NIccolò Angeli
Replied by NIccolò Angeli on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
There is no option for that, I already talked with Ivo from Inspire Theme (you find him responding to comments on this page www.inspiretheme.com/blog/freebies/42-fixed-sticky-header-atoms-for-gantry-5-freebies or vai their contact form) but he said to contact you for this issue :)
Thank you!
Thank you!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
5 years 10 months ago #168095
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic AllVideos Javascript conflit with Headroom Gantry 5 Atom
Unfortunately the JS errors that are being thrown are coming from their extension.
AllVideos is not throwing any errors.
It could be related to how they build their anonymous functions, the script being loaded in the footer the load() trigger instead of the ready() etc etc..
Since it its an external library which I have no idea who and how it was built, the developer who built it needs to troubleshoot the issue.
AllVideos is not throwing any errors.
It could be related to how they build their anonymous functions, the script being loaded in the footer the load() trigger instead of the ready() etc etc..
Since it its an external library which I have no idea who and how it was built, the developer who built it needs to troubleshoot the issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- AllVideos Javascript conflit with Headroom Gantry 5 Atom