HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Bootstrap Theme, can not be integrated JS into default.master.tpl
This discussion is related to the Bootstrap addon.
I found an interesting photo and video slider to integrate it in my forum. But there is a problem with the JS code
«script type="text/javascript"»
$(document).ready(function() {
$('#slider').iView();
});
«/script»
that initiates the start of the slider.
«script »
«/script»
«/body»
«/html» it is all right, ok. But after running the script the following message appears Something has gone wrong. how to fix it?
Version Vanilla 2.3 Bootstrap 2.5.1
Thank you
1
Comments
First, search the forum (or read the FAQ in Tutorials) to find out how to get a detailed error message when you see
Something has gone wrong
Then, post the actual error message.
When you add javascript to the default.master.tpl , you must use {literal} script goes here{/literal} tags.
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
@vrijvlinder Thank you for your help !
