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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem including jQuery packageProblem including jQuery package
Previous
 
Next
New Post
3/12/2008 12:34 PM
 

Without built in support of jQuery you can't really do anything to prevent another module, etc from registering jQuery... that is why you register it using a different namespace etc the way I showed... you can name that parameter anything you want "mySuperJQueryLink" etc, so if you made it unique and somebody else was loading it up you'd have the jQuery linked in a few times (unfortunately), but at least not conflicting.

On that same note, as a core enhancement of course this would "fix" the problem, but where they have their own javascript libraries for webutility, etc, I can't really see them including core support of the jQuery library (maybe I'm wrong, but just venturing a guess).


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
3/12/2008 2:14 PM
 

i'm not saying they should include jQuery.  but there should be a jQuery element inside the head element that can could be tested.

i did mine something like this:

<script type="text/javascript">
   var theHead = document.getElementsByTagName("head")[0];
   var jQueryScript = document.createElement('script');
   jQueryScript.id = 'jQueryScript";
   jQueryScript.type = 'text/javascript';
   jQueryScript.src = "/js/jquery/jquery-1.2.2.min.js";
   theHead.insertBefore(jQueryScript, theHead.firstChild);
</script>


 
New Post
3/17/2008 6:58 AM
 

Thanks for the replays,

At least i can solve my problem in the meanwhile.

Many thanks

 
New Post
10/8/2008 10:10 AM
 

Interesting. However after testing all of the above methods (my jQuery ajax request will work) the NAV menu is STILL not shown anymore :(

Any other pointers?

 
New Post
10/8/2008 10:25 AM
 

This works well for me so far:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>

<script type="text/javascript">

jQuery(document).ready(function(){
        jQuery.noConflict();
    });

</script>

Looking forward to having full jQuery support in 5.0 though!

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Problem including jQuery packageProblem including jQuery package


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