Новости Joomla

Вышли релизы Joomla 6.1 и Joomla 5.4.5: новые возможности и стабильность

Релиз Joomla 6.1.0

Проект Joomla! объявил о доступности Joomla 6.1 [Nyota] — новой минорной версии шестой серии, а также о выпуске релиза исправлений ошибок Joomla 5.4.5. Релиз 6.1 приносит ряд долгожданных функций, повышающих удобство управления контентом и защиту от спама.

👩‍💻 Компонент "CS Афиши" для Joomla.

👩‍💻 Компонент "CS Афиши" для Joomla.

Расширение "CS Афиши" позволяет выводить список мероприятий, фильтровать их по датам, поиск по заголовкам и описанию.

В состав пакета расширений входят:
- Компонент "CS Афиши"
- Модуль "Календарь событий"
- Модуль "Предстоящие события"
- Библиотека "ImgResize"

Расширение "CS Афиши" позволяет выводить список мероприятий, фильтровать их по датам, поиск по заголовкам и описанию.

Модуль "Календарь событий" отображает предстоящие и прошедшие мероприятие на календаре, с отображением мероприятий на конкретную дату во всплывающем окне.

Модуль "Предстоящие события" показывает список предстоящий событий по порядку их наступления.

P.S. Расширение платное, но плата символическая, чисто для отработки приема платежей. Ключи без ограничения по времени, купившие сейчас - смогут обновляться без ограничений.

Разработчик - участник нашего сообщества Дмитрий Денисов (@codersite).

Страница расширения
Демо

Яндекс выпустил инструмент Видимость сайта в Алисе AI.

Яндекс выпустил инструмент Видимость сайта в Алисе AI.

С тех пор, как в поисковиках появились нейроответы ИИ, трафик на сайты стал гораздо меньше, так как пользователь стал получать информацию непосредственно на странице поисковика без перехода на сайт. Но при генерации ответа ИИ указывает источники - ссылки на сайты, информация которых была использована для генерации ответа.

Долгое время у всех был немой вопрос: "Как же теперь оценивать эффективность сайта?". Теперь этот на этот вопрос отчасти отвечает новый инструмент аналитики.
Процитируем справку Яндекса по инструменту:
На запросы пользователей в Поиске может отвечать Алиса AI. Ответы появляются в поисковой выдаче, в объектных ответах и на отдельной вкладке Поиска. В них чаще всего упоминаются страницы сайтов, на которые Алиса AI опиралась при подготовке ответа.

С помощью инструмента Видимость сайта в Алисе AI в Яндекс Вебмастере вы можете:
- узнать долю упоминаний сайта среди источников в ответах Алисы AI в Поиске и отследить динамику изменений;
- посмотреть примеры запросов, по которым страницы сайта показываются в ответах Алисы AI;
- посмотреть примеры сайтов той же тематики, которые часто упоминаются в генеративной выдаче.
Данные отображаются за последние 3 месяца и обновляются каждую неделю.

Статистика собирается только по тем запросам, по которым ваш сайт уже находится достаточно высоко в поисковой выдаче. Это позволяет анализировать видимость именно в той нише, где вы заинтересованы в продвижении, и избегать «размытия» по малозначимым для вас запросам.

Кроме того, такой подход обусловлен работой Алисы AI: она строит ответ с опорой на самые релевантные, информативные и качественные страницы, которые обычно занимают высокие позиции в Поиске.

Чтобы увидеть статистику вашего сайта в меню Яндекс.Вебмастера перейдите в раздел "Эффективность" и далее в "Показы сайта в Алисе AI".

В начале февраля 2026г. был вебинар с Михаилом Сливинским - амбассадором Поиска Яндекса, и в рамках вебинара была озвучена просьба сделать такой инструмент. Скорее всего разработка на тот момент уже велась, потому что от просьбы до релиза прошло около 2-х месяцев. В любом случае хорошо, что такая статистика появилась.

Показы сайта в Алисе AI в вашем Яндекс,Вебмастере.

@joomlafeed

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

vovchikku

  • Захожу иногда
  • 407
  • 1 / 0
мой index.php выглядит как
Код
<?php
/*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla LLC. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla LLC                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
/*
YJSG Framework version Stable 1.0.11
*/
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );
require( TEMPLATEPATH.DS."yjsgcore/yjsg_core.php");/* YJSGFramework main functions*/
require(TEMPLATEPATH.DS."yjsgcore/".$yjsg_getmain.""); /* 2 default views | yjsg_main.php = desktop | yjsg_mobile.php = mobile devices */
?>

а Яндекс говорит, что код счетчика надо вставлять между <body> </body>
Шаблон  -  youmania
*

Marques

  • Завсегдатай
  • 1410
  • 190 / 9
  • Ctrl+F5
Откройте файл templates/ваш_шаблон(по моему yjsgcore)/yjsgcore/yjsg_core.php

Вот в него и вставляйте, там как раз и будет искомые <head> и <body></body>
Зануда перфекционист, не признающий авторитетов, ищет легкую работу за большие деньги - http://dtkp.ru/ s@dtkp.ru
*

vovchikku

  • Захожу иногда
  • 407
  • 1 / 0
э... нету там...
Код
<?php
/*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla LLC. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla LLC                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
defined( '_JEXEC' ) or die( 'Restricted index access' );
// XSS PROTECTION
$_GET = preg_replace("|([^\w\s\'])|i",'',$_GET);
$_POST = preg_replace("|([^\w\s\'])|i",'',$_POST);
// BROWSER RECOGNITION
$who = strtolower($_SERVER['HTTP_USER_AGENT']);
// USABLE VARS
$yj_site = JURI::base()."templates/".$this->template;          //  Current template folder as http://www.site_name/templates/template_name
$yj_base = JURI::base();                                       //  Site path as  http://www.site_name
$yj_copyrightear = (Date("Y"));                                //  Current Copyright year in footer
$yj_templatename = $this->template;                            //  Get template name
$document      = &JFactory::getDocument();
// STYLE SETTINGS

$default_color              = $this->params->get("default_color");
$default_font              = $this->params->get("default_font");
$default_font_family      = $this->params->get("default_font_family");
$selectors_override          = $this->params->get("selectors_override");
$css_font_family          = $this->params->get("css_font_family");
$google_api              = $this->params->get("google_api");
$google_font_family          = $this->params->get("google_font_family");
$cufon_font_family      = $this->params->get("cufon_font_family");
$css_width            = $this->params->get("css_width");
$css_widthdefined    = $this->params->get ("css_widthdefined");
$text_direction        = $this->params->get("text_direction");
$selectors_override_type = $this->params->get("selectors_override_type");
$affected_selectors      = $this->params->get ("affected_selectors");
$custom_css                = $this->params->get ("custom_css");
//TOOLS CONTROL
// SHOW FONT SWITCH = 1 | HIDE FONT SWITCH = 0
$show_tools         = $this->params->get("show_tools");
$show_fres         = $this->params->get("show_fres");
$show_rtlc         = $this->params->get("show_rtlc");

// LAYOUT
$site_layout            = $this->params->get("site_layout");

// MOBILE
$site_mobile          = $this->params->get("site_mobile");
$iphone_default              = $this->params->get("iphone_default");
$android_default                    = $this->params->get("android_default");
$handheld_default                   = $this->params->get("handheld_default");
$mobile_reg                    = $this->params->get("mobile_reg");

//MENY TYPE
// mainmenu by default, can be any Joomla! menu name
$menu_name              = $this->params->get("menuName");
$sub_width = $this->params->get("sub_width");
$yjsg_menu_offset = $this->params->get("yjsg_menu_offset");

//MENU STYLE SWITCH
//  1 = Suckerfish  | 2  = SMooth Dropdown | 3 = Dropline Menu | 4 SmoothDropline menu |  5  = Split Menu
$default_menu_style      = $this->params->get("default_menu_style");
$menu_page_title                    = $this->params->get("menu_page_title");

// Logo and header block settings
$logo_height                        = $this->params->get("logo_height");
$logo_width = $this->params->get("logo_width");
$turn_logo_off = $this->params->get("turn_logo_off");
$turn_header_block_off = $this->params->get("turn_header_block_off");
$logo_out  = $logo_width/10;

// 1 = TURN PHP COMPRESSION ON  |  0 = TURN PHPCOMPRESSION OFF
$compress                           = $this->params->get("compress"); // 1 = TURN COMPRESSION ON  |  0 = TURN COMPRESSION OFF


// SEO SECTION //
$seo                  = $this->params->get ("seo");                     
$tags                  = $this->params->get ("tags");
$turn_seo_off                = $this->params->get ("turn_seo_off");
$ie6notice                = $this->params->get("ie6notice"); // 1 = ON | 0 = OFF   


// ADVISE VISITORS THAT THIR JAVASCRIPT IS DISABLED
$nonscript                    = $this->params->get("nonscript"); // 1 = ON | 0 = OFF


// ADD JQUERY
$jq_switch      = $this->params->get ("jq_switch");

// ADD Google ANALYTICS

$ga_switch      = $this->params->get ("ga_switch");
$GAcode = $this->params->get ("GAcode");
//FPNI CONTROL
$fp_controll_switch         = $this->params->get ("fp_controll_switch");
$fp_chars_limit              = $this->params->get ("fp_chars_limit");
$fp_after_text              = $this->params->get ("fp_after_text ");



// YJSimpleGrid LOGO
$branding_off  = $this->params->get ("branding_off");
$joomlacredit_off  = $this->params->get ("joomlacredit_off");

require( TEMPLATEPATH.DS."yjsgcore/yjsg_modulestyle.php");


// widths
$leftcolumn            = $this->params->get ("leftcolumn");
$rightcolumn            = $this->params->get ("rightcolumn");
$maincolumn              = $this->params->get ("maincolumn");
$insetcolumn            = $this->params->get ("insetcolumn");
$widthdefined            = $this->params->get ("widthdefined");

// widths on specific item id
$leftcolumn_itmid                   = $this->params->get ("leftcolumn_itmid");
$rightcolumn_itmid                  = $this->params->get ("rightcolumn_itmid");
$maincolumn_itmid                   = $this->params->get ("maincolumn_itmid");
$insetcolumn_itmid                  = $this->params->get ("insetcolumn_itmid");
$widthdefined_itmid                 = $this->params->get ("widthdefined_itmid");



//START COLLAPSING THAT MODULE:)
$left                    = $this->countModules( 'left' );
$right                  = $this->countModules( 'right' );
$inset                  = $this->countModules( 'inset' );
// GET ITEM ID FOR SPECIFIC PARAMS
$itemid = JRequest::getVar('Itemid');
$define_itemid              = $this->params->get ("define_itemid");
$component_switch          = $this->params->get ("component_switch");
$turn_topmenu_off          = $this->params->get("turn_topmenu_off");


//COMPONENT OFF SWITCH
if( is_array( $component_switch ) )
  $turn_component_off = in_array( $itemid, $component_switch )? 1 : 2 ;
else
  $turn_component_off = $itemid == $component_switch ? 1 : 2;

//TOPMENU OFF SWITCH
if( is_array( $turn_topmenu_off ) )
  $topmenu_off = in_array( $itemid, $turn_topmenu_off )? 1 : 2 ;
else
  $topmenu_off = $itemid == $turn_topmenu_off ? 1 : 2;

// SPECIFIC ITEM ID WIDTHS
if( is_array( $define_itemid ) && in_array($itemid, $define_itemid) ){
require( TEMPLATEPATH.DS."yjsgcore/yjsg_mgwidthsitem.php");
}else{
require( TEMPLATEPATH.DS."yjsgcore/yjsg_mgwidths.php");
}
// CSS FOR COM_USER ONLY
if (JRequest::getCmd( 'option' ) == 'com_users'){
$document->addStyleSheet($yj_site.'/css/user_pages.css');
}


//TOP MENU
    require( TEMPLATEPATH.DS."yjsgcore/yjsg_stylesw.php");
$renderer = $document->loadRenderer( 'module' );
$options = array( 'style' => "raw" );
$module      = JModuleHelper::getModule( 'mod_menu','$menu_name' );
$topmenu     = false; $subnav = false; $sidenav = false;
// SUCKERFISH OR MOO
if ($default_menu_style == 1 or $default_menu_style== 2) :
$module->params = "menutype=$menu_name\nshowAllChildren=1\nclass_sfx=nav\nmenu_images=n";
$topmenu = $renderer->render( $module, $options );
$menuclass = 'horiznav';
$topmenuclass ='top_menu';
//echo $mainframe->getPageTitle() ;
// DROPLINE

elseif ($default_menu_style == 3 or $default_menu_style== 4) :
$module->params = "menutype=$menu_name\nshowAllChildren=1\nclass_sfx=navd\nmenu_images=n";
$topmenu = $renderer->render( $module, $options );
$menuclass = 'horiznav_d';
$topmenuclass ='top_menu_d';
// SPLIT MENU  NO SUBS
elseif ($default_menu_style == 5) :
$module->params = "menutype=$menu_name\nstartLevel=0\nendLevel=1\nclass_sfx=split\nmenu_images=n";
$topmenu = $renderer->render( $module, $options );
$menuclass = 'horiznav';
$topmenuclass ='top_menu';
endif;

// FIND SPECIFIC MOBILES
$iphones = preg_match("/ipad/i",$who) || preg_match("/ipod/i",$who) ||preg_match("/iphone/i",$who);
$handhelds = preg_match("/opera mini/i",$who) ||preg_match("/blackberry/i",$who) ||preg_match("/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i",$who) ||preg_match("/(iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i",$who);
$android = preg_match("/android/i",$who);

//FIND ALL MOBILES
$yjsg_mobile = preg_match("/ipad/i",$who) // iPad
|| preg_match("/ipod/i",$who) // iPod
|| preg_match("/iphone/i",$who) // iPhone
|| preg_match("/android/i",$who) // Android
|| preg_match("/opera mini/i",$who) // Opera Mini
|| preg_match("/blackberry/i",$who) // Blackberry
|| preg_match("/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i",$who) // Palm
|| preg_match("/(iris|3g_t|windows ce|opera mobi|windows ce; smartphone;|windows ce; iemobile)/i",$who) // Windows Smartphone
;

// TEMPLATE REQUIRED FILES

require( TEMPLATEPATH.DS."yjsgcore/yjsg_fontapi.php");
require( TEMPLATEPATH.DS."yjsgcore/yjsg_scripts.php");
require( TEMPLATEPATH.DS."yjsgcore/yjsg_links.php");

// DEFAULT SITE FILE
$yjsg_getmain    = $site_mobile;

//
//   $db =& JFactory::getDBO();
//   $get_template_params = "SELECT params FROM #__template_styles WHERE template='Yougrids' ";
//   $db->setQuery( $get_template_params );
//   $yj_template_params = $db->loadResult();
//   $params_array = json_decode($yj_template_params);
// discover IE 6 only
if (preg_match( "/msie 6.0/",$who)){
$isie6 =true;
$dropline ='ie6';
}else{
$isie6 =null;
$dropline ='';
}
/* Calculate offset  percent value for YJ Mega Menu */
$offset_value = ($sub_width / 100) * $yjsg_menu_offset;
$final_offset = number_format($sub_width - $offset_value + 10,0, '.', '') ;
/*check if mooo is in upgrade  */
if (JPluginHelper::getPlugin('system', 'mtupgrade')) :
$moo_v = '14';
else:
$moo_v = '13';
endif;
// remove all midblock divs if no items ,no columns, no links, no modules on specific itemid
$app = JFactory::getApplication('site');
$comcontent =& $app->getParams('com_content');
 if (!$this->countModules('bodytop1') &&
 !$this->countModules('bodytop2') &&
 !$this->countModules('bodytop3') &&
 !$this->countModules('bodybottom1') &&
 !$this->countModules('bodybottom2') &&
 !$this->countModules('bodybottom3') &&
 !$this->countModules('left') &&
 !$this->countModules('right') &&
 !$this->countModules('inset') &&
 !$this->countModules('insettop') &&
 !$this->countModules('insetbottom')&&
 $comcontent->get('num_leading_articles') == 0 &&
 $comcontent->get('num_intro_articles') == 0 &&
 $comcontent->get('num_columns') == 0 &&
 $comcontent->get('num_links') == 0 &&
 ($itemid == $component_switch || $turn_component_off == 1) && JRequest::getCmd( 'Itemid' )!=='' ) {
$midblock_off = true;

}else{
$midblock_off = false;
}

require( TEMPLATEPATH.DS."yjsgcore/yjsg_custom_params.php");
?>
*

Pega

  • Захожу иногда
  • 388
  • 41 / 0
В файле yjsg_main.php
« Последнее редактирование: 30.03.2012, 17:04:52 от Pega »
*

bugmenot

  • Захожу иногда
  • 230
  • 11 / 2
  • za3.by
или в подвал.
*

спиртовоз

  • Новичок
  • 1
  • 0 / 0
Заходишь через FTP, открываешь папку сайта, далее /templates/youmania/index.php, открываешь index.php опускаешься в самый низ, перед </body></html> вставляешь свой код.
*

vovchikku

  • Захожу иногда
  • 407
  • 1 / 0
В файле yjsg_main.php

спасибо, заработало
*

pasha-happy

  • Осваиваюсь на форуме
  • 15
  • 0 / 0
Для Яндекс.Метрики и Google Analytics есть готовые решения:
http://joomalungma.com/downloads/yandexmetrika - плагин Яндекс.Метрика
http://www.gordejev.lv/ru/exiting-extensions/8-components-joomla/49-c-ag-google-analyticsfrontend.html - компонент на русском языке (есть там и плагин к нему) Google Analytics
они удобные и легко настраиваются.
*

danik.html

  • Живу я здесь
  • 2650
  • 353 / 4
Интересно, как они встраиваются в страницу? Регуляркой чтоли? Не айс. Лучше уж самому либо прямо вставить код в шаблон, либо через модуль. Или может в head суют код? Это еще хуже. Вот если еслиб это было ввиде модулей - тогда другое дело...
【Мегапак Virtuemart:
 • метатеги (description,keywords)
 • заголовки (title)
 • красивые алиасы (чпу) без тормозов и дублей!
*

Ostap_b

  • Новичок
  • 8
  • 0 / 0
Всем доброго времени суток. У меня похожая проблема, только необходимо вставить скрипт между <body></body>. Шаблон "gk_yourshop". Знающие люди помогите пожалуйста путь к файлу с этими тегами.

index.php
Код
defined( '_JEXEC' ) or die( 'Restricted access' );

ini_set('error_reporting', E_ALL);
ini_set('display_errors','On');

include_once (dirname(__FILE__).DS.'libs'.DS.'gk.template.helper.php');

$tmpl = GKTemplateHelper::getInstance($this, array('ui', GK_TOOL_SCREEN, GK_TOOL_MENU, 'main_layout', 'direction'));

//Calculate the width of template
$tmplWidth = '';
$tmplWrapMin = '100%';
switch ($tmpl->getParam(GK_TOOL_SCREEN)){
case 'auto':
$tmplWidth = '97%';
break;
case 'fluid':
$tmplWidth = intval($tmpl->getParam('gk_screen-fluid-fix-gk_screen_width'));
$tmplWidth = $tmplWidth ? $tmplWidth.'%' : '90%';
break;
case 'fix':
$tmplWidth = intval($tmpl->getParam('gk_screen-fluid-fix-gk_screen_width'));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '1003px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '1002px';
break;
default:
$tmplWidth = intval($tmpl->getParam(GK_TOOL_SCREEN));
$tmplWrapMin = $tmplWidth ? ($tmplWidth+1).'px' : '1003px';
$tmplWidth = $tmplWidth ? $tmplWidth.'px' : '1002px';
break;
}

$tmpl->setParam ('tmplWidth', $tmplWidth);
$tmpl->setParam ('tmplWrapMin', $tmplWrapMin);

//Main navigation
$gk_menutype = $tmpl->getMenuType();
$gkmenu = null;
if ($gk_menutype && $gk_menutype != 'none') {
$gkparams = new JParameter('');
$gkparams->set( 'menutype', $tmpl->getParam('menutype', 'mainmenu') );
$gkparams->set( 'menu_images_align', 'left' );
$gkparams->set( 'menupath', $tmpl->templateurl().'/gk_menus');
$gkparams->set('menu_images', 1); //0: not show image, 1: show image which set in menu item
$gkparams->set('menu_background', 1); //0: image, 1: background
$gkparams->set('mega-colwidth', 200); //Megamenu only: Default column width
$gkparams->set('mega-style', 1); //Megamenu only: Menu style.
$gkparams->set('rtl',($tmpl->getParam('direction')=='rtl' || $tmpl->direction == 'rtl'));
$gkmenu = $tmpl->loadMenu($gkparams, $gk_menutype);
}
//End for main navigation

$layout = $tmpl->getLayout ();

if ($layout) {
$tmpl->display($layout);
}

index.html
Код
<html><body bgcolor="#FFFFFF"></body></html>
Вставка скрипта между этими тегами в index.html не помогает.
« Последнее редактирование: 16.02.2015, 16:52:41 от Ostap_b »
*

yandex_hb

  • Захожу иногда
  • 263
  • 12 / 3
напишите в поддержку gavickpro
*

darkghost

  • Живу я здесь
  • 2212
  • 97 / 0
что у Вас в файле default.пхп, который находиться вот здесь - ...\templates\gk_yourshop\layouts\ ?
Если сюда установить, какой результат?
*

Ostap_b

  • Новичок
  • 8
  • 0 / 0
что у Вас в файле default.пхп, который находиться вот здесь - ...\templates\gk_yourshop\layouts\ ?
Если сюда установить, какой результат?

Скрипт - SmartResponder вставил, но не помогло, однако спасибо за наводку.

default.php

Код
defined( '_JEXEC' ) or die( 'Restricted access' );
$this->_basewidth = 20;
$positions = array (
'left1' =>'left1',
'left2' =>'left2',
'left-mass-top' =>'left_top',
'left-mass-bottom' =>'left_bottom',
'right1' =>'right1',
'right2' =>'right2',
'right-mass-top' =>'right_top',
'right-mass-bottom' =>'right_bottom',
'content-mass-top' =>'top',
'content-mass-bottom' =>'bottom',
'content-top' =>'adv_top',
'content-bottom' =>'adv_bottom',
'inset1' =>'inset1',
'inset2' =>'inset2'
);

$this->customwidth('right', $this->_tpl->params->get("right_column"));
$this->customwidth('right2', $this->_tpl->params->get("right2_column"));
$this->customwidth('left', $this->_tpl->params->get("left_column"));
$this->customwidth('left2', $this->_tpl->params->get("left2_column"));
$this->customwidth('inset1', $this->_tpl->params->get("inset1_column"));
$this->customwidth('inset2', $this->_tpl->params->get("inset2_column"));

$this->definePosition ($positions);
$this->loadBlock('definitions');

$template_style = '';
if($this->getParam("stylearea")) $template_style = (isset($_COOKIE['gk45_style'])? $_COOKIE['gk45_style'] : $this->getParam("template_color"));
else $template_style = $this->getParam("template_color");

?>
<?php if ($this->isIE()) : ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<?php else : ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php endif; ?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
<?php
    $this->loadBlock('head');
    $this->useCache($this->getParam('css_compress'), $this->getParam('css_cache'));
?>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-25737113-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

</head>

<body id="bd" class="fs<?php echo $this->getParam(GK_TOOL_FONT);?> <?php echo $this->browser();?> <?php echo 'style'.$template_style; ?>">
<?php if($this->isIE6() && $this->_tpl->params->get('ie6bar') == 1) : ?>
<div id="infobar"><a href="http://browsehappy.com"><?php echo JText::_('IE6_BAR'); ?></a></div>
<?php endif; ?>

<?php $this->loadBlock('top')?>

<div id="bg-wrap-left" class="main">
<div id="bg-wrap-right" class="main">
<!-- MAIN NAVIGATION -->
    <div id="gk-content-wrapper" class="main">        
        <!-- NAV -->
        <?php $this->loadBlock('nav'); ?>
        <!-- HEADER -->
        <?php $this->loadBlock('header'); ?>
        <!-- TOP MODULES -->
        <?php $this->loadBlock('topsl'); ?>
        <?php if($this->checkComponent() || $this->checkMainbody() || $this->countModules($this->getPositionName('left1').' + '.$this->getPositionName('left2').' + '.$this->getPositionName('left-mass-top').' + '.$this->getPositionName('left-mass-bottom').' + '.$this->getPositionName('right1').' + '.$this->getPositionName('right2').' + '.$this->getPositionName('right-mass-top').' + '.$this->getPositionName('right-mass-bottom').' + '.$this->getPositionName('content-mass-top').' + '.$this->getPositionName('content-mass-bottom').' + '.$this->getPositionName('content-top').' + '.$this->getPositionName('content-bottom').' + '.$this->getPositionName('inset1').' + '.$this->getPositionName('inset2'))) : ?>
        <!-- MAIN CONTAINER -->
        <div id="gk-container">
           <div class="static clearfix">
                <div id="gk-mainbody" style="width:<?php echo $this->getColumnWidth('mw')?>%">
                     <?php $this->loadBlock('main')?>
                     <?php $this->loadBlock('left')?>

                                       
                </div>
<div id="gk-mainbody" style="width:100%;"  class="gurnal">
                                             <jdoc:include type="modules" name="gurnal" style="gavickpro" />
                                        </div>
                <?php $this->loadBlock('right')?>
           </div>
        </div>
        <?php endif; ?>
        <!-- USER MODULES -->
        <?php $this->loadBlock('usersl')?>
    </div>
   
    <!-- BOTTOM MODULES -->
    <?php $this->loadBlock('botsl')?>
    <!-- FOOTER -->
    <?php $this->loadBlock('footer')?>
     
    <?php if($this->_tpl->params->get('t3_logo')) : ?>
   
    <?php endif; ?>
    </div>
</div>
<jdoc:include type="modules" name="debug" />

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter22516693 = new Ya.Metrika({id:22516693,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });

    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/22516693" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->

<!-- SmartResponder.ru subscribe form code (begin) --><p>
<link rel="stylesheet" href="https://imgs.smartresponder.ru/e1bbeb24091b44f1f4048bbc87edacd11278fd23/" mce_href="https://imgs.smartresponder.ru/e1bbeb24091b44f1f4048bbc87edacd11278fd23/"></p>
<mce:script type="text/javascript" mce_src="https://imgs.smartresponder.ru/52568378bec6f68117c48f2f786db466014ee5a0/"></mce:script>
<mce:script type="text/javascript"><!--
    _sr(function() {
        _sr('form[name="SR_form_300287_87"]').find('div#sr-preload_').prop('id', 'sr-preload_300287_87');
        _sr('#sr-preload_300287_87').css({'width':parseInt(_sr('form[name="SR_form_300287_87"]').width() + 'px'), 'height':parseInt(_sr('form[name="SR_form_300287_87"]').height()) + 'px', 'line-height':parseInt(_sr('form[name="SR_form_300287_87"]').height()) + 'px'}).show();
        if(_sr('form[name="SR_form_300287_87"]').find('input[name="script_url_300287_87"]').length) {
            _sr.ajax({
                url: _sr('input[name="script_url_300287_87"]').val() + '/' + (typeof document.charset !== 'undefined' ? document.charset : document.characterSet),
                dataType: "script",
                success: function() {
                    _sr('#sr-preload_300287_87').hide();
                }
            });
        }
    });
// --></mce:script>
<div id="outer_alignment" align="left">
    <form class="sr-box" method="post" action="https://smartresponder.ru/subscribe.html" target="_blank" name="SR_form_300287_87" style="width: 339px; border: 0px solid rgb(201, 201, 201); margin-left: ; border-radius: 6px;">
        <input name="field_name" class="sr-name" type="text">
        <div id="sr-preload_" style="display: none; background-color: #f6f6f6; opacity: 0.5; position: absolute; z-index: 100; text-align: center; font: bold 15px Arial;" mce_style="display: none; background-color: #f6f6f6; opacity: 0.5; position: absolute; z-index: 100; text-align: center; font: bold 15px Arial;" class="mceItemVisualAid">Загрузка...</div>
        <ul class="sr-box-list"><li class="sr-300287_87" style="text-align: left; height: auto; padding: 0px; border: 0px; border-radius: 6px 6px 0px 0px;"><input name="element_header" value="" style="font-family: Arial; color: rgb(0, 0, 0); font-size: 12px; font-style: normal; font-weight: normal; border: none; box-shadow: none; background-color: rgb(255, 255, 255);" mce_style="font-family: Arial; color: #000000; font-size: 12px; font-style: normal; font-weight: normal; border: none; box-shadow: none; background-color: #ffffff;" type="hidden"><table id="elem_table_element_header" style="display: inline-table; border-collapse: separate; width: 341px; margin: -1px 0px 0px -1px;" class="mceItemTable" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="elem_left_element_header" style="width: 105px; height: 100px; background: url(https://imgs.smartresponder.ru/on/45b1c2fc3ac087f4d2d047fd755ae6fad57ab806/) 13px 9px no-repeat transparent;" valign="middle"><br mce_bogus="1"></td><td id="elem_container_element_header" style="vertical-align: middle;" mce_style="vertical-align: middle;"><label class="" style="font-family: arial; color: rgb(242, 9, 21); font-size: 18px; font-weight: bold; line-height: 25px; padding: 9px 0px; margin-top: 14px; text-align: left; height: auto; box-sizing: border-box;">Скачать файлы прибыльных настроек</label></td><td id="elem_right_element_header"><br mce_bogus="1"></td></tr></tbody></table></li><li class="sr-300287_87" style="text-align: left; border-radius: 0px; height: 50px; background: rgb(255, 255, 255);">
<label style="margin-top: 0px; font-weight: normal; font-family: arial; color: rgb(98, 98, 99); font-size: 13px; font-style: normal; display: none;" mce_style="margin-top: 0px; font-weight: normal; font-family: arial; color: #626263; font-size: 13px; font-style: normal; display: none;" class="remove_labels"></label>
<input name="field_email" class="sr-required" style="font-weight: normal; font-family: arial; color: rgb(102, 102, 102); font-size: 14px; font-style: normal; border: 2px solid rgb(210, 219, 230); border-radius: 6px; height: 34px; box-shadow: none; margin-top: 15px; background-image: none; background-color: rgb(255, 255, 255);" value="Ваш E-mail" type="text">
            </li><li class="sr-300287_87" style="text-align: left; border-radius: 0px; height: 50px; background: rgb(255, 255, 255);"><label style="margin-top: 0px; font-weight: normal; font-family: arial; color: rgb(98, 98, 99); font-size: 13px; font-style: normal; display: none;" mce_style="margin-top: 0px; font-weight: normal; font-family: arial; color: #626263; font-size: 13px; font-style: normal; display: none;" class="remove_labels"></label><input name="field_name_first" style="font-weight: normal; font-family: arial; color: rgb(102, 102, 102); font-size: 14px; font-style: normal; border: 2px solid rgb(210, 219, 230); border-radius: 6px; height: 34px; box-shadow: none; margin-top: 15px; background-image: none; background-color: rgb(255, 255, 255);" value="Ваше имя" type="text"></li><li class="sr-300287_87" style="border: 0px; height: 90px; text-align: center; border-radius: 0px 0px 6px 6px; background: rgb(255, 255, 255);"><br><table id="elem_table_subscribe" style="display: inline-table; border-collapse: separate; margin-top: 22px;" mce_style="display: inline-table; border-collapse: separate; margin-top: 22px;" class="mceItemTable" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td id="elem_left_subscribe" style="width: 6px; height: 46px; background: url(https://imgs.smartresponder.ru/on/5a5a99962eb1bc231fd367711620a11c0a04c94f/) 0% 50% no-repeat transparent;" valign="middle"><br mce_bogus="1"></td><td id="elem_container_subscribe" style="vertical-align: middle;" mce_style="vertical-align: middle;"><input name="subscribe" value="Скачать!" style="font-family: arial; color: rgb(8, 8, 8); font-size: 23px; font-weight: bold; border: 0px solid rgb(99, 129, 18); height: 46px; width: 100%; margin: 0px; padding: 0px 20px 3px; box-shadow: none; background: url(https://imgs.smartresponder.ru/on/88de7799a2dd402cb7d8c202920a65ea1573d554/) 0% 50% repeat transparent;" type="submit"></td><td id="elem_right_subscribe" style="width: 6px; height: 46px; background: url(https://imgs.smartresponder.ru/on/882a939c0cd6a7c79676dde42b428cc9d558e7f0/) 0% 50% no-repeat transparent;"><br mce_bogus="1"></td></tr></tbody></table><br><br><br><br><br><br><br><br><br><br><br><br></li></ul>
        <input name="uid" value="638066" type="hidden">
    <input name="did[]" value="765429" type="hidden"><input name="tid" value="0" type="hidden"><input name="lang" value="ru" type="hidden"><input name="script_url_300287_87" value="https://imgs.smartresponder.ru/on/0c4d3683566546252a6b5bdf26191bc2910c0cbb/300287_87" type="hidden"></form>
</div>
<!-- SmartResponder.ru subscribe form code (end) --><p><span style="font-size: small;" mce_style="font-size: small;">
К достоинствам этого эксперта относят его надёжность. Он, как яркий представитель скальпирующего робота позволяет сократить риски и получить стабильную прибыль.
При этом последние разработанные версии советника содержат<b> универсальный механизм перевода позиций в безубыток, что максимально сокращает убытки!</b></span></p><p><span style="font-size: small;" mce_style="font-size: small;"><b><br></b></span></p><!-- SmartResponder.ru PopOver code (begin) -->
<mce:script language="javascript" type="text/javascript" mce_src="popover.js"></mce:script><div class="mceItemVisualAid" id="SR_PopOverModalBackground" style="display: none; background-color:#000; filter: alpha(opacity=0); height: 100%; width: 100%; position: absolute; top: 0px; left: 0px; opacity: 0;"></div><p><span style="margin: 0; padding: 0; width: 510; height: 172; position: absolute; left: 0; right: 0; display: none;" id="SR_PopOver"><table class="mceItemTable" height="172" width="510" cellpadding="0" cellspacing="0"><tbody><tr><td rowspan="2" colspan="2" style="border: 1px solid #0000cc" mce_style="border: 1px solid #0000cc" height="165" width="503"><table class="mceItemTable" bgcolor="#ffffff" height="100%" width="100%" cellpadding="3" cellspacing="0">
<tbody><tr bgcolor="#0000ff" valign="middle"><td onmousedown="popover_drag_start(event, this, 'SR_PopOver')" style="font-family: Courier; font-size: 12pt; color: #ffffff; font-weight: bold;" mce_style="font-family: Courier; font-size: 12pt; color: #ffffff; font-weight: bold;" align="left" width="100%">Внимание! Важно</td><td align="right"><table class="mceItemTable" cellspacing="0"><tbody><tr><td style="padding: 0 3 0 3; font-family: Verdana; font-size: 10pt; color: #ffffff; font-weight: bold; border-left: 1px solid #ffffff; border-top: 1px solid #ffffff; border-bottom: 2px solid #696969; border-right: 2px solid #696969;" mce_style="padding: 0 3 0 3; font-family: Verdana; font-size: 10pt; color: #ffffff; font-weight: bold; border-left: 1px solid #ffffff; border-top: 1px solid #ffffff; border-bottom: 2px solid #696969; border-right: 2px solid #696969;" onclick="popover_slideClose('SR_PopOver', 'up', 200)" onmouseover="this.style.cursor='pointer'" onmouseout="this.style.cursor='default'">X</td></tr></tbody></table></td></tr><tr><td colspan="2" style="font-family: Verdana; font-size: 12pt; color: #000000;" mce_style="font-family: Verdana; font-size: 12pt; color: #000000;" align="center" height="100%" valign="middle">Кликните Получить бонус и Вы уже сегодня сможете получить бонус до 3500 для старта на свой реальный счет и снять всю прибыль! Нажми кнопку получить бонус и действуй.
<input name="subscribe" value="Бездепозитный бонус от ИнстаФорекс" style="font-family: arial; color: rgb(8, 8, 8); font-size: 23px; font-weight: bold; border: 0px solid rgb(99, 129, 18); height: 46px; width: 100%; margin: 0px; padding: 0px 20px 3px; box-shadow: none; background: url(https://imgs.smartresponder.ru/on/88de7799a2dd402cb7d8c202920a65ea1573d554/) 0% 50% repeat transparent;" type="submit"> </td><td id="elem_right_subscribe" style="width: 6px; height: 46px; background: url(<a href=" https:="" www.instaforex.com="" ru="" forex_promo="" nodeposit_bonus="" ?x="CWKP&quot;"><br mce_bogus="1"></td></tr></tbody></table></td><td height="7" width="7"><br mce_bogus="1"></td></tr><tr><td bgcolor="#cccccc" height="158"><br mce_bogus="1"></td></tr><tr><td height="7" width="7"><br mce_bogus="1"></td><td bgcolor="#cccccc" width="496"><br mce_bogus="1"></td><td bgcolor="#cccccc"><br mce_bogus="1"></td></tr></tbody></table></span></p><mce:script language="javascript" type="text/javascript"><!--
 function SR_startPopOver() { popover_set_margins(5, 5, 5, 5);popover_slide('SR_PopOver', 'centerUp', 'centerCenter', 200, 0, '#000000');} function onloadFunction(){window.setTimeout(SR_startPopOver, 0);}window.onload = onloadFunction;document.body.onload = onloadFunction;document.onload = onloadFunction;
// --></mce:script>
<!-- SmartResponder.ru PopOver code (end) -->

</body>
</html>
*

stendapuss

  • Давно я тут
  • 945
  • 20 / 0
  • Valera Stankevich
мой index.php выглядит как
Код
<?php
/*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla LLC. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla LLC                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
/*
YJSG Framework version Stable 1.0.11
*/
defined( '_JEXEC' ) or die( 'Restricted index access' );
define( 'TEMPLATEPATH', dirname(__FILE__) );
require( TEMPLATEPATH.DS."yjsgcore/yjsg_core.php");/* YJSGFramework main functions*/
require(TEMPLATEPATH.DS."yjsgcore/".$yjsg_getmain.""); /* 2 default views | yjsg_main.php = desktop | yjsg_mobile.php = mobile devices */
?>

а Яндекс говорит, что код счетчика надо вставлять между <body> </body>
Шаблон  -  youmania
Можно модулем поставить на всех страницах. В любую позицию. Все работает.
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как убрать index.php из ссылки в Joomla 2.5.4

Автор Sielena

Ответов: 56
Просмотров: 48850
Последний ответ 25.02.2019, 20:09:43
от zorlyglaiz
Убрать из url-a сайта index.php и /ru

Автор DimaValk

Ответов: 16
Просмотров: 4972
Последний ответ 05.07.2018, 17:33:37
от escobaron
Как сбросить счётчик колличества просмотров материала?

Автор Neptun

Ответов: 7
Просмотров: 4730
Последний ответ 18.06.2018, 16:13:17
от tuztref
Постоянная перезагрузка administrator/index.php?option=com_media

Автор ko

Ответов: 1
Просмотров: 2287
Последний ответ 09.06.2018, 12:05:35
от ko
Что делать, если хакнули сайт?

Автор Gandriyko

Ответов: 2
Просмотров: 1791
Последний ответ 12.03.2018, 16:19:47
от draff