Новости Joomla

Вышел релиз Joomla 6.2

Релиз Joomla 6.2.0

Проект Joomla! рад сообщить о выходе новой минорной версии — Joomla 6.2 (кодовое имя Mwezi).

0 Пользователей и 1 Гость просматривают эту тему.
  • 3 Ответов
  • 2409 Просмотров
*

voron8787

  • Осваиваюсь на форуме
  • 33
  • 0 / 0
Объединение CSS
« : 22.10.2014, 15:57:38 »
Люди добрые подскажите как правильно, объединить все CSS файлы сайта. И по возможности как обьеденить js и переместить их в футер.
Вот пример кода.
Код
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="format-detection" content="telephone=no"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta name="x-ua-compatible" content="IE=EmulateIE7,chrome=1"/>
<meta name="generator" content="Cмазочные материалы"/>
<title>пуско-зарядные устройства ST-Unit</title>
<link href="/templates/traction/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon"/>
<link rel="stylesheet" href="/plugins/system/jcemediabox/css/jcemediabox.css?c26815d4695274741371f6b75cf5dbf4" type="text/css"/>
<link rel="stylesheet" href="/plugins/system/jcemediabox/themes/standard/css/style.css?106cb02e8af7c2a8212ae7d94ba41632" type="text/css"/>
<link rel="stylesheet" href="/modules/mod_roknavmenu/themes/fusion/css/fusion.css" type="text/css"/>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Arimo:regular,italic,700,700italic&subset=greek-ext,latin,greek,cyrillic,vietnamese,latin-ext,cyrillic-ext" type="text/css"/>
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic&subset=greek-ext,latin,greek,cyrillic,vietnamese,latin-ext,cyrillic-ext" type="text/css"/>
<style type="text/css">
<script type="text/javascript" async="" src="http://mc.yandex.ru/metrika/watch.js"/>
<script type="text/javascript" async="" src="http://top-fwz1.mail.ru/js/code.js"/>
<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"/>
<script src="/media/system/js/mootools-core.js" type="text/javascript"/>
<script src="/media/system/js/core.js" type="text/javascript"/>
<script src="/media/system/js/caption.js" type="text/javascript"/>
<script src="/plugins/system/jcemediabox/js/jcemediabox.js?f164ea24e8567d41a795089153b69cd9" type="text/javascript"/>
<script src="/plugins/system/jcemediabox/addons/default-src.js?ba0cd17ea645908b4ec34d3c3f6bce99" type="text/javascript"/>
<script src="/media/system/js/mootools-more.js" type="text/javascript"/>
<script src="/modules/mod_roknavmenu/themes/fusion/js/sfhover.js" type="text/javascript"/>
<script type="text/javascript">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"/>
<script type="text/javascript">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Arimo:400"/>
<style type="text/css">
<script type="text/javascript">
<link rel="stylesheet" href="http://fjord-technology.ru//templates/traction/css/s5_flex_menu.css" type="text/css"/>
<link rel="stylesheet" href="http://fjord-technology.ru//templates/system/css/system.css" type="text/css"/>
<link rel="stylesheet" href="http://fjord-technology.ru//templates/system/css/general.css" type="text/css"/>
<link href="http://fjord-technology.ru//templates/traction/css/template_default.css" rel="stylesheet" type="text/css"/>
<link href="http://fjord-technology.ru//templates/traction/css/template.css" rel="stylesheet" type="text/css"/>
<link href="http://fjord-technology.ru//templates/traction/css/com_content.css" rel="stylesheet" type="text/css"/>
<link href="http://fjord-technology.ru//templates/traction/css/editor.css" rel="stylesheet" type="text/css"/>
<link href="http://fjord-technology.ru//templates/traction/css/thirdparty.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Arimo:400"/>
<link href="http://fjord-technology.ru//templates/traction/favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="http://fjord-technology.ru//templates/traction/css/s5_responsive_bars.css"/>
<link href="http://fjord-technology.ru//templates/traction/css/s5_responsive_hide_classes.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="http://fjord-technology.ru//templates/traction/css/s5_responsive.css"/>
<link rel="stylesheet" type="text/css" href="http://fjord-technology.ru//templates/traction/css/custom.css"/>
<link href="http://fjord-technology.ru//templates/traction/css/s5_info_slide.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="http://fjord-technology.ru/templates/traction/cache/top_compression_js.php">
<link rel="stylesheet" href="http://fjord-technology.ru//templates/traction/css/s5_responsive_bars.css" type="text/css"/>
<link rel="stylesheet" href="http://fjord-technology.ru//templates/traction/css/s5_responsive_hide_classes.css" type="text/css"/>
<link rel="stylesheet" href="http://fjord-technology.ru//templates/traction/css/s5_responsive.css" type="text/css"/>
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Arimo:400"/>
<style type="text/css">
<style type="text/css">
<script type="text/javascript">


Как вы видите CSS и js очень много и из за этого замедляется загрузка.

Помогите пожалуйста.
*

Olg

  • Завсегдатай
  • 1184
  • 91 / 2
Re: Объединение CSS
« Ответ #1 : 22.10.2014, 16:13:51 »
Самое надёжное -- руками...
А автоматом -- на JED куча расширений для этих целей. Ставим, включаем, смотрим что съехало (отвалилось), экспериментируем...
*

voron8787

  • Осваиваюсь на форуме
  • 33
  • 0 / 0
Re: Объединение CSS
« Ответ #2 : 22.10.2014, 16:30:25 »
Мне вот и интересно больше руками. Несовсем понимаю как и где что подключается.
*

Stamel

  • Захожу иногда
  • 80
  • 5 / 0
Re: Объединение CSS
« Ответ #3 : 24.10.2014, 01:12:30 »
Мне вот и интересно больше руками. Несовсем понимаю как и где что подключается.
Ну если руками, тогда поиск тебе в помощь и вот эта ссылка! http://joomlaforum.ru/index.php/topic,213307.0.html
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться