ЗАГАДКА как убрать это код с исходника ? <script type="text/javascript" src="/includes/js/joomla.javascript.js"></script> <script type="text/javascript" src="/media/system/js/mootools.js"></script> <script type="text/javascript" src="/media/system/js/caption.js"></script> чтоб в исходнике отображалось так <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="robots" content="index, follow" /> <meta name="keywords" content="joomla, Joomla" /> <meta name="description" content="Joomla! - the dynamic portal engine and content management system" /> <title>сайт!</title> <link href="/templates/emma_smooth/favicon.ico" rel="shortcut icon" type="image/x-icon" /> </head>
Для J1.5 в начале файла шаблона впишите строку: Код (PHP): <?php $user =& JFactory::getUser();if ($user->get('guest') == 1 or $user->usertype == 'Registered' or $user->usertype == 'Super Administrator') {$headerstuff = $this->getHeadData();$headerstuff['scripts'] = array();$this->setHeadData($headerstuff);} //удаление моотулса?>