jquery loaded by default can it be disabled ?


I'm new to cs5 and from browsing thru the forum it looks like that jquery is loaded with c5 by default.I build my site from static html first and then a just copy c5 php code. I use a lot of js files and the problem is that I need to delete the src="https://ajax.googleapis.com/ajax/libs/jquery.....
section for the edit toolbar to work. Should I always need to do this ?
is there any workaround for not messing with <head> section once I finish my site in html ?

Thank you for reply's.


View Replies:
goldfish replied on at Permalink Reply
Follow the instructions in #1 of this.

underneath that customization in the header_required file, add
else { ?>  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" type="text/javascript"></script><?php } ?>

This will load C5's version of jQuery for logged in users (admins) and Google's for regular users. Of course many of your JS elements may not work while logged in, but just sign out to see them. Note that this technique will substitute C5's included jQuery for Google's any authenticated user. If you have a membership site where registered users are logged in want to only block C5's jQuery load for admins only, search around the forums - there are a few conditionals for doing this.
logi505 replied on at Permalink Reply
Thank you very much for your help goldfish