Unload BootStrap and jQuery - Joomla! Forum - community, help and support
hi all,
first @ want joomla 3.0 ( @ backend).
but @ frontend dont need terrible bootstrap jquery. , other things is, mootools loading @ frontend too.
ok, topic.
i want unload jquery scripts. have deleted string:
but frontend loading jquery , bootstrap !!
how can disable bootstrap loading?
first @ want joomla 3.0 ( @ backend).
but @ frontend dont need terrible bootstrap jquery. , other things is, mootools loading @ frontend too.
ok, topic.
i want unload jquery scripts. have deleted string:
code: select all
// add javascript frameworks
jhtml::_('bootstrap.framework');but frontend loading jquery , bootstrap !!
how can disable bootstrap loading?
i don't know how fix problem in easy way, think can @ least point in right direction.
in /templates/protostar/index.php find line:
it's used load file:
in it, if example delete this:
you won't have of scripts joomla loads. of course, better have override rather modifying joomla's core files. not sure what's best way that, maybe this site you.
anyway, sure come across topic , able better i.
good luck still.
in /templates/protostar/index.php find line:
code: select all
<jdoc:include type="head" />it's used load file:
- /joomla/libraries/joomla/document/html/renderer/head.php
in it, if example delete this:
code: select all
// generate script file links
foreach ($document->_scripts $strsrc => $strattr)
{
$buffer .= $tab . '<script src="' . $strsrc . '"';
if (!is_null($strattr['mime']))
{
$buffer .= ' type="' . $strattr['mime'] . '"';
}
if ($strattr['defer'])
{
$buffer .= ' defer="defer"';
}
if ($strattr['async'])
{
$buffer .= ' async="async"';
}
$buffer .= '></script>' . $lnend;
}you won't have of scripts joomla loads. of course, better have override rather modifying joomla's core files. not sure what's best way that, maybe this site you.
anyway, sure come across topic , able better i.
good luck still.
Comments
Post a Comment