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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Disabled Manage buttonDisabled Manage button
Previous
 
Next
New Post
7/13/2012 7:10 PM
 
no idea, it could be anything as the original problem was deleted file -at this point i'd suggest copying over the files of the same version (except for the BIN folder) in case its caused by other missing files - is there anyway to see this site publically?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
7/16/2012 2:09 AM
 
Hi,

I had this problem recently - the reason was that a custom module that I wrote used jQuery (and worked fine in DNN 4.9.5). I upgraded the site to 6.2.1 (which was really hard work of testing, investigating, backup and recover...), and I had the same effect on the page that contained this module. The script did not modify links, but scrolled the page to top after it was loaded.

After removing the lines that loaded jQuery, everything worked fine again. The problem was that jQuery was loaded twice, even with the noconflict option.

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
7/28/2012 8:55 PM
 
Hello Cathal, sorry i went away for a couple of days, now i am back , you mean i over wright every thing in under my httpdocs/ folder? except bin folder? what about my data, pages, form and etc ? do i need to create a backup of httpdocs folder?

to get a backup I placed "app_ofline.htm" file under httpdocs folder but it dosen't works i am still viewing the website online, can you please tell me how to turn the website offline to get a backup,

well you can find the website here http://thecottonhall.org.uk/ send me an email to shujaat74@hotmail.com so i will send you the login info,

well Michael , i saw just one line of script calling jquery what would you suggest what i need to do, i used your great module for my form, it works fine with the rest of testing, after a couple of weeks my client complained me for that then what i did with the website you already read, i had a doubt on some modules i uploaded but i cant remove them now ,, so what should i do now , thanks
 
New Post
7/28/2012 10:04 PM
 
Michael Tobisch wrote:
Hi,

I had this problem recently - the reason was that a custom module that I wrote used jQuery (and worked fine in DNN 4.9.5). I upgraded the site to 6.2.1 (which was really hard work of testing, investigating, backup and recover...), and I had the same effect on the page that contained this module. The script did not modify links, but scrolled the page to top after it was loaded.

After removing the lines that loaded jQuery, everything worked fine again. The problem was that jQuery was loaded twice, even with the noconflict option.

Best wishes
Michael

 FWIW the noconflict option has nothing to do with the issues that are caused by jquery being loaded twice.

If jquery is loaded more that once you wind up with situations where jquery plugins and code  which is loaded after the first instance of jquery but before the second instance can effectively get lost or disconnected when the second instance of jquery gets loaded.  With the resulting web pages not doing things you expected.

The noconflict option on the other hand is about releasing the $ shortcut so that other javascript functions can make use of it.

Westa

 
New Post
7/31/2012 12:04 PM
 

Wes is correct about the noconflict function.

jQuery.noConflict( )

Run this function to give control of the $ variable back to whichever library first implemented it.
This helps to make sure that jQuery doesn't conflict with the $ object of other libraries.

By using this function, you will only be able to access jQuery using the 'jQuery' variable. For example, where you used to do $("div p"), you now must do jQuery("div p").

NOTE: This function must be called after including the jQuery javascript file, but before including any other conflicting library, and also before actually that other conflicting library gets used, in case jQuery is included last. noConflict can be called at the end of the jQuery.js file to globally disable the $() jQuery alias. jQuery.noConflict returns a reference to jQuery, so it can be used to override the $() alias of the jQuery object.

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Disabled Manage buttonDisabled Manage button


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