Новости Joomla

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

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
Добрый день!
Столкнулся с такой проблемой, что модуль Xmap создает карту сайта, которую Яндекс не принимает. Ошибка, которую он пишет, следующая:


"XML-файл не соответствует схеме.
Строка: 2 Позиция: 6
Подробнее
<detail>The processing instruction target matching "[xX][mM][lL]" is not allowed.</detail>"


Я пробовал переустанавливать модуль, а также другие модули, но исход один и тот же  :(
В интернете пишут про какие-то "пустые пробелы", которые нужно удалить, но я совершенно не могу понять что за пробелы и откуда их нужно удалять и вообще в них ли дело. Может кто-то сталкивался с подобной проблемой, сможет кто-то помочь ??
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
Народ, помогите решить проблему !!  !
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
Народ, помогите решить проблему !!  !

Слишком мало информации, чтобы помочь.
Нужны либо ссылки, либо содержимое xml-карты.

Xmap - старый компонент (не модуль), его преемник - OSMap.
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
xml-карта расположена по адресу: http://sanmarco-vernici.ru/index.php?option=com_xmap&view=xml&id=1

вот содержание:

http://sanmarco-vernici.ru/dekorativnye-kraski.htmlweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/antica-calce-plus.html2015-09-14T14:50:18Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/cadoro.html2015-09-14T14:44:27Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/cadoro-velvet.html2015-09-14T14:51:04Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/cavenier.html2015-11-18T20:47:55Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/decori-classici.html2015-09-14T14:52:16Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/easy-art.html2015-11-18T20:54:25Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/lunanuova.html2015-11-18T20:55:32Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/marcopolo.html2015-09-14T14:53:40Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/marcopolo-luxury.html2015-09-14T14:55:13Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/via-della-seta.html2015-09-09T19:04:56Zweekly0.5http://sanmarco-vernici.ru/dekorativnye-kraski/unimarc-smalto-micaceo.html2015-09-09T19:05:26Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki.htmlweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/acrisyl-decora.html2015-09-14T14:56:52Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/marmo-d-autore.html2016-04-10T15:59:39Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/canalgrande.html2015-09-14T14:57:53Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/grassello-di-calce.html2015-09-14T15:00:22Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/marmorino-classico.html2015-09-14T15:02:42Zweekly0.5http://sanmarco-vernici.ru/veneczianskie-shtukaturki/stucco-veneziano.html2015-09-14T15:03:51Zweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury.htmlweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury/abc-riflessi.html2015-09-14T15:05:15Zweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury/my-art.html2015-09-10T19:38:28Zweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury/patina.html2015-09-14T15:06:18Zweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury/perlaceo.html2015-09-14T15:07:06Zweekly0.5http://sanmarco-vernici.ru/lessiruyushhie-finitury/velatura.html2015-09-14T15:07:42Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki.htmlweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/concret-art.html2015-09-10T19:43:41Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/intonachino-minerale.html2015-09-14T15:08:44Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/marmo-antico.html2015-09-14T15:12:40Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/rilievo.html2015-09-14T15:14:29Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/roxidan.html2015-09-10T19:47:42Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/stucco-facile.html2015-09-07T14:10:03Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/tamstucco.html2015-09-09T19:13:52Zweekly0.5http://sanmarco-vernici.ru/fakturnye-shtukaturki/wallstucco.html2015-09-07T14:18:33Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski.htmlweekly0.5http://sanmarco-vernici.ru/interernye-kraski/decorfond.html2015-11-18T20:50:50Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski/giada.html2015-09-09T19:15:58Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski/laguna.html2015-09-09T19:16:31Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski/superconfort.html2015-09-07T14:26:34Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski/uno.html2015-09-07T14:27:58Zweekly0.5http://sanmarco-vernici.ru/interernye-kraski/wasserlac-al-quarzo.html2015-09-09T19:17:10Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio.htmlweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio.htmlweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio/38-basilica.html2015-09-09T19:19:27Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio/39-armonia.html2015-09-09T19:19:03Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio/40-valmarana.html2015-09-09T19:18:43Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio/41-rotonda.html2015-09-09T19:18:21Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/interernye-kraski-palladio/42-olimpico.html2015-09-09T19:17:59Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-kraski-palladio.htmlweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-kraski-palladio/43-saraceno.html2015-09-09T19:20:43Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-kraski-palladio/44-badoer.html2015-09-09T19:20:22Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-kraski-palladio/45-foscari.html2015-09-09T19:20:03Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio.htmlweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio/46-pisani.html2015-09-09T19:22:31Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio/47-civena.html2015-09-09T19:22:11Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio/48-emo.html2015-09-09T19:21:52Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio/49-contarini.html2015-09-09T19:21:33Zweekly0.5http://sanmarco-vernici.ru/liniya-palladio/fasadnye-shtukaturki-palladio/50-zeno.html2015-09-09T19:21:08Zweekly0.5http://sanmarco-vernici.ru/2015-09-14T15:44:21Zweekly0.5http://sanmarco-vernici.ru/katalog.htmlweekly0.5http://sanmarco-vernici.ru/katalog/13-fasadnaya-kraska-i-shtukaturka.htmlweekly0.5http://sanmarco-vernici.ru/san-marco-plant-history.html2015-09-12T14:43:56Zweekly0.5http://sanmarco-vernici.ru/oplata-i-dostavka.html2016-02-17T18:34:54Zweekly0.5http://sanmarco-vernici.ru/vakansii.html2015-09-06T09:22:48Zweekly0.5http://sanmarco-vernici.ru/новости.htmlweekly0.5http://sanmarco-vernici.ru/новости/56-всем-женщинам-8-марта-скидки.html2016-03-07T20:07:27Zweekly0.5http://sanmarco-vernici.ru/новости/57-novaya-fasovka-materiala-marmorino-classico.html2016-04-07T15:21:14Zweekly0.5http://sanmarco-vernici.ru/новости/59-novyj-material-marmo-d-autore.html2016-04-10T17:04:06Zweekly0.5http://sanmarco-vernici.ru/новости/60-material-patina-baza-prozrachnaya-v-emkosti-4l-snimaetsya-s-prodazhi.html2016-04-16T14:01:50Zweekly0.5http://sanmarco-vernici.ru/новости/61-novaya-lessiruyushchaya-finitura-roxidan-platino.html2016-04-17T08:32:37Zweekly0.5http://sanmarco-vernici.ru/price-list.html2016-01-27T22:16:48Zweekly0.5http://sanmarco-vernici.ru/kontakty.html2016-04-07T15:41:45Zweekly0.5
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
xml-карта расположена по адресу: http://sanmarco-vernici.ru/index.php?option=com_xmap&view=xml&id=1

Ссылка на XML должна быть: http://sanmarco-vernici.ru/index.php?option=com_xmap&view=xml&tmpl=component&id=1

Я не знаю, какую ссылку вы указываете в robots.txt.

Сейчас у вас 404 ошибка по этим ссылкам, возможно, отключили.
---------------
Добавляю:
Посмотрела ваш robots.txt

Allow: /index.php?option=com_osmap&view=xml&tmpl=component&id=1

Вижу вы поставили OSMap, но строки Sitemap нет в вашем файле.
« Последнее редактирование: 20.04.2016, 01:18:00 от almika »
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
поставил OS map вместо Xmap.

Он создает карту сайта, выдает такой адрес:
http://sanmarco-vernici.ru/index.php?option=com_osmap&view=xml&tmpl=component&id=1

по этой ссылке выпадает такое содержание:

 weekly 0.5 2015-09-14T14:50:18Z weekly 0.5 2015-09-14T14:44:27Z weekly 0.5 2015-09-14T14:51:04Z weekly 0.5 2015-11-18T20:47:55Z weekly 0.5 2015-09-14T14:52:16Z weekly 0.5 2015-11-18T20:54:25Z weekly 0.5 2015-11-18T20:55:32Z weekly 0.5 2015-09-14T14:53:40Z weekly 0.5 2015-09-14T14:55:13Z weekly 0.5 2015-09-09T19:04:56Z weekly 0.5 2015-09-09T19:05:26Z weekly 0.5 2015-09-14T14:44:27Z weekly 0.5 2015-09-14T14:53:40Z weekly 0.5 2015-09-14T14:55:13Z weekly 0.5 2015-09-09T19:04:56Z weekly 0.5 2015-09-09T19:05:26Z weekly 0.5 2015-11-18T20:54:25Z weekly 0.5 2015-09-14T14:51:04Z weekly 0.5 2015-09-14T14:50:18Z weekly 0.5 2015-09-14T14:52:16Z weekly 0.5 2015-11-18T20:55:32Z weekly 0.5 2015-11-18T20:47:55Z weekly 0.5 weekly 0.5 2015-09-14T14:56:52Z weekly 0.5 2016-04-10T15:59:39Z weekly 0.5 2015-09-14T14:57:53Z weekly 0.5 2015-09-14T15:00:22Z weekly 0.5 2015-09-14T15:02:42Z weekly 0.5 2015-09-14T15:03:51Z weekly 0.5 2015-09-14T14:57:53Z weekly 0.5 2015-09-14T14:56:52Z weekly 0.5 2015-09-14T15:02:42Z weekly 0.5 2015-09-14T15:00:22Z weekly 0.5 2015-09-14T15:03:51Z weekly 0.5 2016-04-10T15:59:39Z weekly 0.5 weekly 0.5 2015-09-14T15:05:15Z weekly 0.5 2015-09-10T19:38:28Z weekly 0.5 2015-09-14T15:06:18Z weekly 0.5 2015-09-14T15:07:06Z weekly 0.5 2015-09-14T15:07:42Z weekly 0.5 2015-09-14T15:07:42Z weekly 0.5 2015-09-14T15:07:06Z weekly 0.5 2015-09-14T15:05:15Z weekly 0.5 2015-09-14T15:06:18Z weekly 0.5 2015-09-10T19:38:28Z weekly 0.5 weekly 0.5 2015-09-10T19:43:41Z weekly 0.5 2015-09-14T15:08:44Z weekly 0.5 2015-09-14T15:12:40Z weekly 0.5 2015-09-14T15:14:29Z weekly 0.5 2015-09-10T19:47:42Z weekly 0.5 2015-09-07T14:10:03Z weekly 0.5 2015-09-09T19:13:52Z weekly 0.5 2015-09-07T14:18:33Z weekly 0.5 2015-09-14T15:08:44Z weekly 0.5 2015-09-14T15:12:40Z weekly 0.5 2015-09-10T19:47:42Z weekly 0.5 2015-09-09T19:13:52Z weekly 0.5 2015-09-07T14:18:33Z weekly 0.5 2015-09-14T15:14:29Z weekly 0.5 2015-09-10T19:43:41Z weekly 0.5 2015-09-07T14:10:03Z weekly 0.5 weekly 0.5 2015-11-18T20:50:50Z weekly 0.5 2015-09-09T19:15:58Z weekly 0.5 2015-09-09T19:16:31Z weekly 0.5 2015-09-07T14:26:34Z weekly 0.5 2015-09-07T14:27:58Z weekly 0.5 2015-09-09T19:17:10Z weekly 0.5 2015-09-09T19:15:58Z weekly 0.5 2015-09-07T14:27:58Z weekly 0.5 2015-09-09T19:16:31Z weekly 0.5 2015-09-07T14:26:34Z weekly 0.5 2015-11-18T20:50:50Z weekly 0.5 2015-09-09T19:17:10Z weekly 0.5 weekly 0.5 weekly 0.5 2015-09-09T19:19:27Z weekly 0.5 2015-09-09T19:19:03Z weekly 0.5 2015-09-09T19:18:43Z weekly 0.5 2015-09-09T19:18:21Z weekly 0.5 2015-09-09T19:17:59Z weekly 0.5 weekly 0.5 2015-09-09T19:20:43Z weekly 0.5 2015-09-09T19:20:22Z weekly 0.5 2015-09-09T19:20:03Z weekly 0.5 weekly 0.5 2015-09-09T19:22:31Z weekly 0.5 2015-09-09T19:22:11Z weekly 0.5 2015-09-09T19:21:52Z weekly 0.5 2015-09-09T19:21:33Z weekly 0.5 2015-09-09T19:21:08Z weekly 0.5 weekly 0.5 2015-09-09T19:19:27Z weekly 0.5 2015-09-09T19:19:03Z weekly 0.5 2015-09-09T19:18:43Z weekly 0.5 2015-09-09T19:18:21Z weekly 0.5 2015-09-09T19:17:59Z weekly 0.5 weekly 0.5 2015-09-09T19:20:43Z weekly 0.5 2015-09-09T19:20:22Z weekly 0.5 2015-09-09T19:20:03Z weekly 0.5 weekly 0.5 2015-09-09T19:22:31Z weekly 0.5 2015-09-09T19:22:11Z weekly 0.5 2015-09-09T19:21:52Z weekly 0.5 2015-09-09T19:21:33Z weekly 0.5 2015-09-09T19:21:08Z weekly 0.5 2015-09-14T15:44:21Z weekly 0.5 weekly 0.5 weekly 0.5 2015-09-14T14:44:27Z weekly 0.5 2015-09-14T14:53:40Z weekly 0.5 2015-09-14T14:55:13Z weekly 0.5 2015-09-09T19:04:56Z weekly 0.5 2015-09-09T19:05:26Z weekly 0.5 2015-11-18T20:54:25Z weekly 0.5 2015-09-14T14:51:04Z weekly 0.5 2015-09-14T14:50:18Z weekly 0.5 2015-09-14T14:52:16Z weekly 0.5 2015-11-18T20:55:32Z weekly 0.5 2015-11-18T20:47:55Z weekly 0.5 weekly 0.5 2015-09-09T19:15:58Z weekly 0.5 2015-09-07T14:27:58Z weekly 0.5 2015-09-09T19:16:31Z weekly 0.5 2015-09-07T14:26:34Z weekly 0.5 2015-11-18T20:50:50Z weekly 0.5 2015-09-09T19:17:10Z weekly 0.5 weekly 0.5 2015-09-14T14:57:53Z weekly 0.5 2015-09-14T14:56:52Z weekly 0.5 2015-09-14T15:02:42Z weekly 0.5 2015-09-14T15:00:22Z weekly 0.5 2015-09-14T15:03:51Z weekly 0.5 2016-04-10T15:59:39Z weekly 0.5 weekly 0.5 2015-09-14T15:08:44Z weekly 0.5 2015-09-14T15:12:40Z weekly 0.5 2015-09-10T19:47:42Z weekly 0.5 2015-09-09T19:13:52Z weekly 0.5 2015-09-07T14:18:33Z weekly 0.5 2015-09-14T15:14:29Z weekly 0.5 2015-09-10T19:43:41Z weekly 0.5 2015-09-07T14:10:03Z weekly 0.5 weekly 0.5 weekly 0.5 2015-09-14T15:07:42Z weekly 0.5 2015-09-14T15:07:06Z weekly 0.5 2015-09-14T15:05:15Z weekly 0.5 2015-09-14T15:06:18Z weekly 0.5 2015-09-10T19:38:28Z weekly 0.5 weekly 0.5 2015-09-12T14:43:56Z weekly 0.5 2016-02-17T18:34:54Z weekly 0.5 2015-09-06T09:22:48Z weekly 0.5 weekly 0.5 2016-03-07T20:07:27Z weekly 0.5 2016-04-07T15:21:14Z weekly 0.5 2016-04-10T17:04:06Z weekly 0.5 2016-04-16T14:01:50Z weekly 0.5 2016-04-17T08:32:37Z weekly 0.5 2016-01-27T22:16:48Z weekly 0.5 2016-04-07T15:41:45Z weekly 0.5


Ставлю эту ссылку в валидаторе в яндексе и он опять пишет ошибку, на этот раз такую:

Ошибка в XML
Строка 2:

XML declaration allowed only at the start of the document


что я должен сделать ? нужно что-то в robots.txt прописать ? а разве так не должно всё работать ?
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
Если посмотреть исходный код страницы вашей карты http://sanmarco-vernici.ru/index.php?option=com_osmap&view=xml&tmpl=component&id=1
То можно увидеть, что первая строка пустая, а дальше идет нормальная карта.
Должно быть так:
Код
<?xml version="1.0" encoding="UTF-8"?>
Вся проблема из-за пустой строки.
Возможно какой-то плагин OSMap добавляет эту строку. Попробуйте отключить все плагины OSMap. Проверьте в исходном коде страницы в браузере.

Проверьте, также на другом шаблоне, например, protostar.

В принципе, очень много что может быть источником проблемы.
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
Получается возможно у меня проблема в index.php ? может я добавлял что-то в ней и не закрыл где-то скобку(и)? вот код на данный момент:

<?php
/**
 * @package     Joomla.Site
 * @subpackage  Templates.beez3
 *
 * @copyright   Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

JLoader::import('joomla.filesystem.file');

// Check modules
$showRightColumn = ($this->countModules('position-3') or $this->countModules('position-6') or $this->countModules('position-8'));
$showbottom      = ($this->countModules('position-9') or $this->countModules('position-10') or $this->countModules('position-11'));
$showleft        = ($this->countModules('position-4') or $this->countModules('position-7') or $this->countModules('position-5'));

if ($showRightColumn == 0 and $showleft == 0)
{
   $showno = 0;
}

JHtml::_('behavior.framework', true);

// Get params
$color          = $this->params->get('templatecolor');
$logo           = $this->params->get('logo');
$navposition    = $this->params->get('navposition');
$headerImage    = $this->params->get('headerImage');
$doc            = JFactory::getDocument();
$app            = JFactory::getApplication();
$templateparams   = $app->getTemplate(true)->params;
$config         = JFactory::getConfig();
$bootstrap      = explode(',', $templateparams->get('bootstrap'));
$jinput         = JFactory::getApplication()->input;
$option         = $jinput->get('option', '', 'cmd');

if (in_array($option, $bootstrap))
{
   // Load optional rtl Bootstrap CSS and Bootstrap bugfixes
   JHtml::_('bootstrap.loadCss', true, $this->direction);
}

$doc->addStyleSheet($this->baseurl . '/templates/system/css/system.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/position.css', $type = 'text/css', $media = 'screen,projection');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/layout.css', $type = 'text/css', $media = 'screen,projection');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/print.css', $type = 'text/css', $media = 'print');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/general.css', $type = 'text/css', $media = 'screen,projection');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/' . htmlspecialchars($color). '.css', $type = 'text/css', $media = 'screen,projection');

if ($this->direction == 'rtl')
{
   $doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/template_rtl.css');
   if (file_exists(JPATH_SITE . '/templates/' . $this->template . '/css/' . $color . '_rtl.css'))
   {
      $doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/' . htmlspecialchars($color). '_rtl.css');
   }
}

JHtml::_('bootstrap.framework');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/md_stylechanger.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/hide.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/respond.src.js', 'text/javascript');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/javascript/template.js', 'text/javascript');
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>" >
   <head>
      <?php require __DIR__ . '/jsstrings.php';?>

      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes"/>
      <meta name="HandheldFriendly" content="true" />
      <meta name="apple-mobile-web-app-capable" content="YES" />

      <jdoc:include type="head" />
         <script type="text/javascript" src="//vk.com/js/api/openapi.js?117"></script>
         <script type="text/javascript">  VK.init({apiId: 5057862, onlyWidgets: true});  </script>
      <!--[if IE 7]>
      <link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template; ?>/css/ie7only.css" rel="stylesheet" type="text/css" />
      <![endif]-->
   </head>
   <body id="shadow">
      <?php if ($color == 'image'):?>
         <style type="text/css">
            .logoheader {
               background:url('<?php echo $this->baseurl . '/' . htmlspecialchars($headerImage); ?>') no-repeat right;
            }
            body {
               background: <?php echo $templateparams->get('backgroundcolor'); ?>;
            }
         </style>
      <?php endif; ?>
      <!-- Yandex.Metrika counter --><script type="text/javascript">(function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter32561760 = new Ya.Metrika({id:32561760, webvisor:true, 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/32561760" style="position:absolute; left:-9999px;" alt="" /></div></noscript><!-- /Yandex.Metrika counter -->
      <script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-67775937-1', 'auto');
  ga('send', 'pageview');

      </script>

      <div id="all">
         <div id="back">
            <header id="header">
               <div class="logoheader">
                  <h1 id="logo">
                  <?php if ($logo) : ?>
                     <a href=" <?php echo $this->baseurl ?> ">
                     <img src="<?php echo $this->baseurl; ?>/<?php echo htmlspecialchars($logo); ?>"  alt="<?php echo htmlspecialchars($templateparams->get('sitetitle')); ?>" />
                     </a>
                  <?php endif;?>
                  <?php if (!$logo AND $templateparams->get('sitetitle')) : ?>
                     <?php echo htmlspecialchars($templateparams->get('sitetitle')); ?>
                  <?php elseif (!$logo AND $config->get('sitename')) : ?>
                     <?php echo htmlspecialchars($config->get('sitename')); ?>
                  <?php endif; ?>
                  <span class="header1">
                  <?php echo htmlspecialchars($templateparams->get('sitedescription')); ?>
                  </span></h1>
               </div><!-- end logoheader -->
               <h2 class="unseen">Декоративные штукатурки San Marco</h2>
               <h3 class="unseen">Декоративные покрытия и краски</h3>
               <jdoc:include type="modules" name="position-1" />
               <div id="line">
                  <jdoc:include type="modules" name="position-0" />
               </div> <!-- end line -->
            </header><!-- end header -->
            <div id="<?php echo $showRightColumn ? 'contentarea2' : 'contentarea'; ?>">
               <div id="breadcrumbs">
                  <jdoc:include type="modules" name="position-2" />
               </div>

               <?php if ($navposition == 'left' and $showleft) : ?>
                  <nav class="left1 <?php if ($showRightColumn == null) { echo 'leftbigger';} ?>" id="nav">
                     <jdoc:include type="modules" name="position-7" style="beezDivision" headerLevel="3" />
                     <jdoc:include type="modules" name="position-4" style="beezHide" headerLevel="3" state="0 " />
                     <jdoc:include type="modules" name="position-5" style="beezTabs" headerLevel="2"  id="3" />
                  </nav><!-- end navi -->
               <?php endif; ?>

               <div id="<?php echo $showRightColumn ? 'wrapper' : 'wrapper2'; ?>" <?php if (isset($showno)){echo 'class="shownocolumns"';}?>>
                  <div id="main">

                     <?php if ($this->countModules('position-12')) : ?>
                        <div id="top">
                           <jdoc:include type="modules" name="position-12" />
                        </div>
                     <?php endif; ?>

                     <jdoc:include type="message" />
                     <jdoc:include type="component" />

                  </div><!-- end main -->
               </div><!-- end wrapper -->

               <?php if ($showRightColumn) : ?>
                  <div id="close">
                     <a href="#" onclick="auf('right')">
                     <span id="bild">
                        <?php echo JText::_('TPL_BEEZ3_TEXTRIGHTCLOSE'); ?>
                     </span>
                     </a>
                  </div>

                  <aside id="right">
                     <h2 class="unseen"><?php echo JText::_('TPL_BEEZ3_ADDITIONAL_INFORMATION'); ?></h2>
                     <jdoc:include type="modules" name="position-6" style="beezDivision" headerLevel="3" />
                     <jdoc:include type="modules" name="position-8" style="beezDivision" headerLevel="3" />
                     <jdoc:include type="modules" name="position-3" style="beezDivision" headerLevel="3" />
                  </aside><!-- end right -->
               <?php endif; ?>

               <?php if ($navposition == 'center' and $showleft) : ?>
                  <nav class="left <?php if ($showRightColumn == null) { echo 'leftbigger'; } ?>" id="nav" >

                     <jdoc:include type="modules" name="position-7"  style="beezDivision" headerLevel="3" />
                     <jdoc:include type="modules" name="position-4" style="beezHide" headerLevel="3" state="0 " />
                     <jdoc:include type="modules" name="position-5" style="beezTabs" headerLevel="2"  id="3" />

                  </nav><!-- end navi -->
               <?php endif; ?>

               <div class="wrap"></div>
            </div> <!-- end contentarea -->
         </div><!-- back -->
      </div><!-- all -->

      <div id="footer-outer">
         <?php if ($showbottom) : ?>
            <div id="footer-inner" >

               <div id="bottom">
                  <div class="box box1"> <jdoc:include type="modules" name="position-9" style="beezDivision" headerlevel="3" /></div>
                  <div class="box box2"> <jdoc:include type="modules" name="position-10" style="beezDivision" headerlevel="3" /></div>
                  <div class="box box3"> <jdoc:include type="modules" name="position-11" style="beezDivision" headerlevel="3" /></div>
               </div>

            </div>
         <?php endif; ?>

         <div id="footer-sub">
            <footer id="footer">
               <div id="vk_like"></div><script type="text/javascript">VK.Widgets.Like("vk_like", {type: "button"});
               </script>
                     <jdoc:include type="modules" name="position-14" />
               <p>&copy; 2015 <a href="<?php echo $this->baseurl; ?>">San Marco. Все права защищены.</a><br />
               +7 (499) 703-42-83<br />
               <a href="mailto:info@sanmarco-vernici.ru">info@sanmarco-vernici.ru</a></p>
               Наш адрес: г. Москва, Рязанский пр-т, д.2, к.3,<br />
                    ТК "Город", этаж 1 (2 км от ТТК), ежедневно, 10:00-22:00
            </footer><!-- end footer -->
         </div>
      </div>
      <jdoc:include type="modules" name="debug" />
   </body>
</html>


можно как-то проверить на его правильность ?
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
Прячьте, пожалуйста, под спойлер большой код.

А на protostar работает?
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
Прячьте, пожалуйста, под спойлер большой код.

А на protostar работает?
Как спрятать за спойлер ?
Попробовал в панели управления поменял шаблон на протостар, ничего не поменялось, карта сайта также открывается с пустой строчкой сверху(
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
Как спрятать за спойлер ?
Попробовал в панели управления поменял шаблон на протостар, ничего не поменялось, карта сайта также открывается с пустой строчкой сверху(

Плюсик в панели форматирования, когда сообщение редактируете - это спойлер.
Значит не в шаблоне дело. Плагин какой-то портит или с Joomla что-то не то.
Joomla с официального сайта у вас или нет? Какая версия?
*

sanmarco-vernici

  • Осваиваюсь на форуме
  • 10
  • 0 / 0
За спойлер спасибо )

Да, Joomla с официального сайта, всё как положено, странно ведь изначально всё корректно работало(
*

almika

  • Захожу иногда
  • 325
  • 27 / 0
Пробуйте отключать плагины по очереди и проверять. Начните с плагинов OSMap, потом все сторонние плагины.
Компоненты какие ещё устанавливали?

Joomla можно попробовать обновить, только бэкап обязательно сделайте.

Удачи
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

JL Sitemap - компонент карты сайта

Автор zikkuratvk

Ответов: 355
Просмотров: 26463
Последний ответ 01.12.2023, 14:22:32
от zikkuratvk
Как сделать Sitemap.xml?

Автор phvsfpgs

Ответов: 4
Просмотров: 842
Последний ответ 02.10.2023, 13:24:09
от sivers
Не принимает в Google вебмастер аналитик карту сайта sitemap.xml

Автор igorsuccess

Ответов: 4
Просмотров: 1523
Последний ответ 25.12.2021, 18:52:58
от igorsuccess
Sitemap поисковым системам для мультиязычной версии сайта

Автор Gevguk

Ответов: 4
Просмотров: 2574
Последний ответ 08.07.2021, 10:55:18
от khan-alex
Ссылка на sitemap.xml в результатах поиска в Google.

Автор Игарь

Ответов: 10
Просмотров: 2234
Последний ответ 15.09.2020, 14:38:08
от Игарь