Subtotal: $63,882.00
I'm trying to use one of the shortcodes in Porto with OpenContent. When I do, I get the following JS error every page load when logged in as an admin and it repeats for any action I attempt to perform with the resulting templated content.
https://www.screencast.com/t/xgfT8NWQ73u
https://www.screencast.com/t/qqrv0qrLTyD
Has anyone else dealt with this and found a way to resolve the issue?
FYI - https://opencontent.readme.io/discuss/5d2a5a1d87d28600112c9345
I figured out the cause of this...
Inner-base.js was expecting to find instances of accordions with the ID of accordion. This is not actually a best practice.
What if you had multiple accordions on the same page? This would mean that there would need to be invalid HTML added to the page since multiple elements in the DOM would have the same ID.
Can this be fixed in the core of Porto to look for the accordion class name instead?
What doesn't make sense to me (yet) is that the examples on the shortcodes page all have different ID's but begin with accordion. Any help is appreciated. :(
Your browser doesn't have Flash, Silverlight or HTML5 support.
This was user error (on my part)...
Don't forget to change the data-parent attribute when you change the main parent attribute. {face-palming}