Why do we need this?
Will this work on your site?
In my tests the following files appeared to present no real issue to the test site when placed at the bottom of the page:
- k2.js if you have the k2 component installed
Don't we have two versions of the files loading now though?
Another handy feature of the JB Library is that in addition to being able to add files to your page it can also strip them from the output. If you add the files above to the user folder it does not remove them from the output of the page, so you need to perform one more step to strip them from the output.
2. In your Joomla admin navigate to the JB Library parameters via extensions > plugins > JB Library
3. Enable the strip extra scripts option.
4. Enter the filenames of the scripts you want to strip. eg the name of the files we added to the user folder.
Check your source and clear your cache ...
Now if you check the source of your page you should see references to the files above loading at the very bottom of your page.
You will of course need to test your site thoroughly and clear all browser and relevant Joomla cache to make sure that making the changes above works for your specific context.
If you are in an adventurous mood feel free to download the latest version of the plugin and test it out.
Please note that this update also adds jQuery 1.6.4 to the jQuery stack available in the JB Library plugin.blog comments powered by Disqus