Always have jQuery UI available

Permalink
I see that the jQueryUI and CSS is available when a user is logged in and in an administrating page of some sort.

I want to be able to access these files all the time, so I can use it in my theme. (Autocomplete field actually)

Short of doubling up and checking if they are not logged in, (which wont work for me becasue I need it then as well) I dont know how I can have those libraries available without causing some kind of conflict.

Help is greatly appreciated.

davidofadelaide
 
PineCreativeLabs replied on at Permalink Best Answer Reply
PineCreativeLabs
JohntheFish replied on at Permalink Reply
JohntheFish
Just adding to what Growthcurve has said. If you load the C5 versions of the files in the C5 way, then C5 will make sure there is no conflict when you are logged in.
davidofadelaide replied on at Permalink Reply
davidofadelaide
are you suggesting that if I addToHeader it will not conlfict in edit mode?
davidofadelaide replied on at Permalink Reply
davidofadelaide
Brilliant! Thanks