Hi,
I'm new to V5, I've always used V4. I disabled the all CSS from bootstrap in the "theme form" but I still have a lot of unwated JS files in the header on the frontend from "libraries/cegcore/..." and also it load JQuery 1.1. Is there a way to disable all of this. We just need ChronoForm form builder and backend validation. So all the scripts for dropdowns, modals, etc are useless and make a lot of HTTP calls.
Thanks !
I'm new to V5, I've always used V4. I disabled the all CSS from bootstrap in the "theme form" but I still have a lot of unwated JS files in the header on the frontend from "libraries/cegcore/..." and also it load JQuery 1.1. Is there a way to disable all of this. We just need ChronoForm form builder and backend validation. So all the scripts for dropdowns, modals, etc are useless and make a lot of HTTP calls.
Thanks !
Hi Mushr00m,
After much digging I think I have found a workaround for this,
a. In the Styles tba set the Form Theme to None
b. Use jQueryEasy (or something similar) to manage the jQuery versions
c. edit the /libraries/cegcore/libs/app_j.php file around line 417 to block the js and css files in the front-end only
Bob
After much digging I think I have found a workaround for this,
a. In the Styles tba set the Form Theme to None
b. Use jQueryEasy (or something similar) to manage the jQuery versions
c. edit the /libraries/cegcore/libs/app_j.php file around line 417 to block the js and css files in the front-end only
foreach($chunks as $chunk){
if(in_array($chunk, $JDocument->_custom)){
continue;
}
$uri = \JFactory::getURI();
$path = $uri->getPath();
if ( $path == '/administrator/index.php' ) {
$JDocument->addCustomTag(\GCore\C::fix_urls($chunk));
}
}
!!! this is a sledgehammer approach !!!
Bob
Hi,
I don't want to modify the core file like this. If future updates put everyhting back...
There is not override way or buttons to disable them ?
Thanks
I don't want to modify the core file like this. If future updates put everyhting back...
There is not override way or buttons to disable them ?
Thanks
Hi
Hi Mushr00m,,
Not that I know of or I would have suggested it. I suspect that there may be a bug somewhere deep in the code as it does appear to check what is needed - but still everything gets loaded.I hunted around but the fix I gave you is the bes I have so far.
Bob
Bob
Hi Mushr00m,,
Not that I know of or I would have suggested it. I suspect that there may be a bug somewhere deep in the code as it does appear to check what is needed - but still everything gets loaded.I hunted around but the fix I gave you is the bes I have so far.
Bob
Bob
This topic is locked and no more replies can be posted.