HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Bootstrap Theme, can not be integrated JS into default.master.tpl

kopnakopna Coimbra Portugal ☯

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

Comments

  • Options
    whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    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.

  • Options
    vrijvlindervrijvlinder Papillon-Sauvage MVP

    When you add javascript to the default.master.tpl , you must use {literal} script goes here{/literal} tags.

  • Options
    kopnakopna Coimbra Portugal ☯
    edited January 2017

    @vrijvlinder said:
    When you add javascript to the default.master.tpl , you must use {literal} script goes here{/literal} tags.

    @vrijvlinder Thank you for your help ! :awesome::+1:

Sign In or Register to comment.