- Download the SmartTools jQueryLoader Installer from the Codeplex project
- Watch the short (8 minutes) screencast that shows the deployment and some sample scripts.
Here is an overview of the installation steps:
- Navigate to any Document Library in a SharePoint site.
- Upload the SmartToosls.jQueryLoader.Install.aspx file to that Document Library (this file can be deleted after the installation).
- Open the uploaded page by just clicking on it.
- Select the desired installation options by checking their checkboxes in the list. For a first-time installation you typically check at least the first four checkboxes (see below).
- Click the Start Installation button and keep an eye on the Installation Log at the bottom of the page.
- That’s it!
- Create js Document Library: will create a hidden Document Library called js. This Document Library will have four custom columns:
- Autoload (true/false): to specify if the jQueryLoader should dynamically load the file
- Sequence (number): to specify the order in which the files are loaded
- ApplyTo (text): a regular expression to specify on which pages the file should be loaded
- Group (text): an optional value to group different files together
- Create or update jquery.js: will upload the jQuery library to the js Document Library.
- Create or update smarttools.jqueryloader.js: will upload the jQueryLoader script to the js Document Library.
- Update the default.master: will make a change to the default.master Master Page (or the one you select by changing the value in the textbox). This change adds three script tags in the head element of the HTML page.
- Update the default.master of a child site: (optional) will make a change to the Master Page of a child site (see previous option). Notice that this child site will make use of js Document Library of the current site.
- Add test Web Part (optional): will add a test Web Part to the default.aspx (Home) page of the site to verify if jQuery is active.
- Enhanced Tasks View, Task Notifications and AJAX Lists (all optional): will add various sample scripts to show of the power of jQuery in SharePoint see the demo screencast for more information.
The optional sample scripts are just there to give you an idea what can be accomplished using jQuery in SharePoint sites, and to show you how easy it is to deploy them. The real added value is of course your creativity to build custom scripts making SharePoint even better. Feel free to contact me when you’ve got a cool sample as well!