jquery ui mandatory

noname8

I updated the jquery to most new and removed the jquery-ui but left the jquery-insert so that the colorbox will work. Seems to work fine..

Edited the frontend.functions.php in framework -folder.

BlackBird

The jQuery Core is included in the Backend by default in 2.8.1, so you would have to change the BE Theme to remove it. Look into footer.htt. As far as I know, it is not used in the BE.

You may use lib_jquery and LibraryAdmin to load jQuery on demand.
[url=http://wbaddons.webbird.de]http://wbaddons.webbird.de[/url] [url=http://www.WebsiteBaker.org/forum/index.php/topic,27476.msg189845.html#msg189845]Don't miss this[/url]

Argos

In your template(s) just replace
<?php 
// automatically include optional WB module files (frontend.css, frontend.js)
if (function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('jquery');
register_frontend_modfiles('js');

?>
with
<?php 
// automatically include optional WB module files (frontend.css, frontend.js)
if (function_exists('register_frontend_modfiles')) {
register_frontend_modfiles('css');
register_frontend_modfiles('js');

?>


Now WB doesn't load the internal jQuery stuff anymore, so you can add your own lines and preferred files.

As far as I know jQuery is not used in a the backend. If it's loaded anyway (I didn't check), just disable it and see what happens.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

noname8

I see that the jquery is quite old and giving alot of errors. Now i'd like to know that if i have site frontend template that the jquery is needed but no ui, how can i disable the jquery-ui ?

And is the admin-section using the jquery & jquery-ui to something? can i update it ?

wb version that i have is 2.8.1 and older. Dont want to update to that 2.8.2 because it's bloated and giving too much pain