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...In 7.3, there should be a settings to register jQuery automaticallyIn 7.3, there should be a settings to register jQuery automatically
Previous
 
Next
New Post
6/21/2014 9:22 AM
 

The new upgrade to DNN 7.3 has few issues. One of them is, jQuery does not get registered (except when you login as Host/Admin where by the Control Panel registers it)

This breaks most (if not all) of the Skins, which uses jQuery for Banner / Slider etc. The onus now is on the Skin/Module developer to register the jQuery

I suggest, there should be a checkbox in the Site Setting which would decide, if you want to register the jQuery automatically or manually

 
New Post
6/21/2014 10:25 PM
 

this is an oversight of module/skin developers who incorrectly assumed jquery/jquery-migrate would always be registered rather than using the correct API's (http://www.dnnsoftware.com/wiki/page/jquery). As part of 7.3.0's performance optimization (http://www.dnnsoftware.com/wiki/page/dnn-7-3-developer-quick-start) there are a few cases where jquery-migrate is no longer loaded as it was not needed (e.g. on a default install with no new modules when a user was logged out, this used to be loaded for no reason, so we removed that).

That said, there were a number of skinners/module developers who correctly registered jquery, but did not register jquery migrate. The issue there is that jquery broke aspects of the API with the 1.9.1 release, so this has stung those developers. As jquery breaking the API so much was not a predictable event, we (platform team) thought that it would be better if we registered jquery-migrate on their behalf for the occasions where they only registered jquery. Whilst this is not ideal, as some users will now load jquery-migrate even though nothing on the page needs it, the other option was to not add this back in and that would need lots of updates to skins and modules. As such adding it back (which restores it to pre 7.3.0 like behaviour), was seen as the lesser of two evils - the fix was made as https://dnntracker.atlassian.net/browse/DNN-5497 and will come out in the expedited 7.3.1 release.


Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/22/2014 11:00 AM
 

I upgraded to 7.3 and my skin components like Banner, Sliders etc stopped working. So after some research on it, I added this code

<%@ Register TagPrefix="dnn" TagName="jQuery" src="~/Admin/Skins/jQuery.ascx" %>

<dnn:jQuery runat="server"></dnn:jQuery>

<dnn:jQuery runat="server" jQueryUI="true" DnnjQueryPlugins="true" jQueryHoverIntent="true"></dnn:jQuery>

  That apparently  solve the issue. So, do you mean to say, I would have to undo the above changes when 7.3.1 comes?

 
New Post
6/22/2014 3:40 PM
 
you should only need the first as that skin object registers both jquery and jquerymigrate . The 2nd is unnecessary, but as both use the client dependency framework (CDF) API, it simply means that while jquery/jquerymigrate etc have multiple register requests, CDF will remove the duplicates and ensure each script is only added to the page once. This of course means that when you update to 7.3.1, CDF will also remove those duplicates

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/26/2014 12:43 PM
 

Upgraded to 7.3.1 successfully

Great job Team (Y)

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...In 7.3, there should be a settings to register jQuery automaticallyIn 7.3, there should be a settings to register jQuery automatically


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