jQuery tabs in Administration in 8.1

Mark Elliott asked on November 24, 2014 23:25

We have a user control that has jQuery tabs and editable text regions. After we upgraded to 8.1 the tabs stopped working when logged in to Administration. When logged out and viewing the site as a user would everything works fine. I followed the instructions here about using a different jQuery library with Kentico but nothing I have tried seems to work. Any ideas?

Correct Answer

Mark Elliott answered on December 1, 2014 18:03

Ok think managed to get this resolved. I removed the link to bootstrap.min.js as an explicit link from the head section of the master template and added it through a jQuery web part to the master page and that seemed to do the trick. This post was very helpful.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Ladislav Margai answered on November 25, 2014 12:39

Hello Mark,

Could you please have a look to your browser JavaScript console if there are any errors?

Best regards,

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on November 25, 2014 19:14

Hi Ladislav,

In the console there is: jQuery is not a function from jquery-core.js and t is undefined from require.js

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on November 26, 2014 15:47

Hi Mark,

Did you try to switch these two lines mentioned in the article from Roman?

As I stated above, Kentico currently creates a jQuery alias. What you need to do is open the jquery-core.js file and locate the line stating:

var $cmsj = jQuery.noConflict();

Comment this line and then uncomment the line:

var $cmsj = jQuery.noConflict(true);    

Also what namespace are you using for your custom jQuery?

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on November 26, 2014 18:13

Hi Martin,

I did make that change in the jquery-core.js file. As far as the namespace goes I didn't write any functions for the tabs - its referencing the Bootstrap 3 library with jQuery 1.10.2

0 votesVote for this answer Mark as a Correct answer

Martin Danko answered on November 28, 2014 09:53

Hi Mark,

it would be great if you can contact us directly via e-mail: support@kentico.com and send us the exact code examples you are using so we can try to reproduce this behavior. Or maybe even if you can provide us with a temporary access to your website where we can inspect this directly.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.