. .

Integrate jQuery in DNN 4

jQuery is already included in DotNetNuke 5. If you use DotNetNuke 4, jQuery can be included manually:

  1. Download jQuery:
  2. Open the file Default.aspx in root folder of your DotNetNuke installation and integrate it:

    <script src="/jQuery/jquery.1.2.1-min.js" type="text/javascript" language="javascript"></script>

    Please note that Default.aspx will be overwritten when you update DNN.

    DNN 4 and jQuery both use the "$"-function for internal purposes. This causes a conflict, which you can work oround using the jQuery "noconflict" mode.

  3. To use the "noconflict" mode you just have to integrate this javascript below the javascript Library ("jquery.js"):

    <script type="text/javascript" language="javascript">
        var $j = jQuery.noConflict();

    More informationen: http://docs.jquery.com/Using_jQuery_with_Other_Libraries



    // Your Code

jQuery plugins usually work with "$"-Function. In this case just open the javascript file and search/replace "$" with "$j".



Optimized DNN 7  YAML Template for is ready to download.

Optimized YAML 4 Template for DNN > 6.1 is ready.

Revised tutorial and optimized YAML template for DNN 5.x

New YAML version 3.3 released and implemented in base skin --> ready to use with DotNetNuke. Release Notes

Register now and we'll inform you about news! Register