I don't know how to fix your problem in an easy way, but I think I can at least point you in the right direction.
In
/templates/protostar/index.php you will find this line:
It's used to load this file:
- /Joomla/libraries/joomla/document/html/renderer/head.php
In it, if for example you delete this:
Code: Select all
// Generate script file links
foreach ($document->_scripts as $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 any of the scripts joomla usually loads. Of course, it would be better to have an override rather than modifying joomla's core files. I am not sure what's the best way to do that, but maybe
this site will help you.
Anyway, I am sure someone will come across this topic and be able to help you better than I.
Good luck still.