Warning: Declaration of WarpMenuWalker::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::end_lvl(&$output, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::start_el(&$output, $item, $depth, $args) should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678

Warning: Declaration of WarpMenuWalker::end_el(&$output, $item, $depth) should be compatible with Walker_Nav_Menu::end_el(&$output, $item, $depth = 0, $args = Array) in /home4/x15denis/public_html/wp-content/themes/yoo_nano2_wp/warp/systems/wordpress/helpers/system.php on line 678
Denis Stadler – SharePoint & Dynamics CRM Consultant » jQuery

Step by Step: How to Add jQuery to a SharePoint 2010 Site Collection

Written by Denis Stadler on . Posted in jQuery

Both SharePoint 2010 editions (Server and Foundation) don’t provide a built-in feature that activates jQuery in a site collection.

Adding jQuery to SharePoint might not present a high interest for a traditional intranet portal solution, but if we use the Publishing feature, especially in web sites, jQuery could help us to improve our users’ experience.

The easiest way to add jQuery is, of course, to edit the master page and add the following lines of code, before the closing </head> tag:

<script type="text/javascript"
<script type="text/javascript"

This code show his limitations if the computer of the user connecting to the SharePoint solution doesn’t have an active internet connection.

The Build of an Add-jQuery SharePoint Feature

A more elegant solution is to build a custom feature that injects the code in the “PlaceHolderAdditionalPageHead” content place holder, a content place holder that should exist on every SharePoint master page.

<asp:ContentPlaceHolder id="PlaceHolderAdditionalPageHead"

To achieve this, I had initially to create a new SharePoint empty project using Visual Studio 2010.

Warning: Parameter 1 to W3_Plugin_TotalCache::ob_callback() expected to be a reference, value given in /home4/x15denis/public_html/wp-includes/functions.php on line 3208