Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 7.2 - Jquery error with Control BarUpgrade to 7.2 - Jquery error with Control Bar
Previous
 
Next
New Post
1/14/2014 8:45 AM
 

I've narrowed down the issues I was having with DNN 7.2 and jquery. My older skins are not loading jQuery Migrate 1.2.1. 

I can add it to the skins, but I've read in a few places that it's supposed to be included with DNN 7. Is this an omission with 7.2, do I need to configure something or should it be added to every skin? I don't see it explicitly add in the Gravity skin for instance. 

 
New Post
1/14/2014 9:15 AM
 
if you use the API it will be included by default i.e. the "old" jQuery.RequestRegistration call internally also adds a reference to jquerymigrate. The new API will identify jquerymigrate as a dependency of jquery and automatically load it i.e. JavaScript.RequestRegistration(CommonJs.jQuery) brings in both libraries.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/14/2014 3:02 PM
 

Thanks for the response. I'm not sure I follow. I just created a new portal and installed a DNN 7 skin I bought from dnnglobal. Where would I add the  JavaScript.RequestRegistration(CommonJs.jQuery)? 

It seems that 7.2 is not always loading it. The Gravity skin is loading jquery-migrate 1.2.1, but I'm not sure how or where. If I change the page skin to the one I just bought I get the jquery errors.

 
New Post
1/15/2014 8:23 AM
 
As DNN is a modular system, things such as skins and modules should not try to load their own versions of common javascript, as otherwise more than 1 copy could be loaded which would cause an error. Instead they should register that they use the script (e.g. jquery), that way only one copy is loaded - typically a skin would already have this defined in it (e.g. the gravity skin registers for jquery, which then loads a copy of jquerymigrate also). If your skin is not working right, it suggests that it either does not register, or that it is attempting to load it's own copy, either of which may fail (depending on what other components on the page have registered) - this would be an error with the skin and one you should bring up with the vendor

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
3/20/2014 2:27 PM
 
I am having what appears to be the same problem. I am running v.7.2.2 and all the files appear to be loading, but jquery and other scripts are not working properly. However, I have not installed URLScan, so that can't be the problem (unless I need to install it?). I tried all 3 menu providers and they all have the same problem. When I am logged out, I don't get any javascript errors.

For example, on Admin > Page Management, I get the error: dnn.extend is not a function.
When I am editing a module settings, I get many errors, such as (from dnn.jquery.js): dnnFormHelp.on is not a function, instance.attr(...).replace is not a function, and a(...).on is not a function.

I am panicking because this is on my client's live site. Please help. Thank you.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 7.2 - Jquery error with Control BarUpgrade to 7.2 - Jquery error with Control Bar


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out