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

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
   Парни, подскажите, пожалуйста, как решить проблему: трехколоночный шаблон, сделанный в artisteer3, при просмотре в IE три колонки сворачиваются в одну и вообще неправильно отображается. (кстати, все трехколоночные шаблоны, сделанные в artisteer2, везде отображаются нормально, почему?). Сайт (пример) volchonok(.)dp(.)ua. Бывают случаи, когда правая колонка смещается влево и частично перекрывает центральную. Примеры - сайты danwigs(.)com,   sklad(.)us.  Во все браузерах, кроме IE, отображается все нормально.
Кто поможет разобраться, объяснить и устранить причину - помощь оплачу через WebMoney или другим взаимно удобным способом. Коды и сами шаблоны могу предоставить.
Заранее спасибо.
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
во первых ПО ЧИСТЬ СКРИПТЫ! у тебя самое не индексируемое положение, так-как контент загружается аяксом.
я бы вообще пошел бы и повесил дизайнеров которые тебе делали сайт... ибо такого г я давно не видел...
проблема: Контент не загружается в исходный код.
рещение - переписать полностью весь шаблон, если и должно что-то догружаться то точно не контент.
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
+ смотри исходный код страниц, там должен быть скрипт который выполняет проверку на браузер, его лучще всего УДАЛИТЬ
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
проблема: Контент не загружается в исходный код.
рещение - переписать полностью весь шаблон, если и должно что-то догружаться то точно не контент.

Не загружается только в IE...
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
именно
 по этому смотри скрипты.
походу в них что-то проверяет браузер (одно это уже смертельно).
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
у тебя ошибка в скрипте    

AJS.preloadImages
говорит что GB_ROOT_DIR не задан.
попробуй переделай без этого скрипта вообще
дай index.php посмотрю что выдернуть можно
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
у тебя ошибка в скрипте    

AJS.preloadImages
говорит что GB_ROOT_DIR не задан.
попробуй переделай без этого скрипта вообще
дай index.php посмотрю что выдернуть можно

index.php шаблона :
Спойлер
[свернуть]
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
Код
<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__). DIRECTORY_SEPARATOR . 'functions.php';
$document = null;
if (isset($this))
  $document = & $this;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->template;
artxComponentWrapper($document);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
 <jdoc:include type="head" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
</head>
<body>
<div id="art-main">
<div class="art-sheet">
    <div class="art-sheet-tl"></div>
    <div class="art-sheet-tr"></div>
    <div class="art-sheet-bl"></div>
    <div class="art-sheet-br"></div>
    <div class="art-sheet-tc"></div>
    <div class="art-sheet-bc"></div>
    <div class="art-sheet-cl"></div>
    <div class="art-sheet-cr"></div>
    <div class="art-sheet-cc"></div>
    <div class="art-sheet-body">
<div class="art-header">
    <div class="art-header-center">
        <div class="art-header-png"></div>
    </div>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/swfobject.js"></script>
<script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "<?php echo $templateUrl; ?>/expressInstall.swf");</script>

</div>
<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
<div class="art-content-layout">
    <div class="art-content-layout-row">
<?php if (artxCountModules($document, 'left')) : ?>
<div class="art-layout-cell art-sidebar1">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'left', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>
<?php $contentCellStyle = artxGetContentCellStyle($document); ?>
<div class="art-layout-cell art-<?php echo $contentCellStyle; ?>">

<?php
  echo artxModules($document, 'banner2', 'art-nostyle');
  if (artxCountModules($document, 'breadcrumb'))
    echo artxPost(null, artxModules($document, 'breadcrumb'));
  echo artxPositions($document, array('user1', 'user2'), 'art-article');
  echo artxModules($document, 'banner3', 'art-nostyle');
?>
<?php if (artxHasMessages()) : ?><div class="art-post">
    <div class="art-post-body">
<div class="art-post-inner">
<div class="art-postcontent">

<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

      <div class="cleared"></div>
    </div>
</div>
<?php endif; ?>
<div id="main_search">
         <jdoc:include type="component" />
</div>
<?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
<?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
<?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>

  <div class="cleared"></div>
</div>
<?php if (artxCountModules($document, 'right')) : ?>
<div class="art-layout-cell art-sidebar2">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'right', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>

    </div>
</div>
<div class="cleared"></div>


<?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
<div class="art-footer">
    <div class="art-footer-t"></div>
    <div class="art-footer-l"></div>
    <div class="art-footer-b"></div>
    <div class="art-footer-r"></div>
    <div class="art-footer-body">
         <?php echo artxModules($document, 'syndicate'); ?>
        <div class="art-footer-text">
  <?php if (artxCountModules($document, 'copyright') == 0): ?>
    <?php ob_start(); ?>
<p>Copyright &copy; 2011 VOLCHONOK.DP.UA</p>

    <?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?>
  <?php else: ?>
  <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
  <?php endif; ?>
        </div>
      <div class="cleared"></div>
    </div>
</div>
      <div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"></p>

</div>
</body>
</html>
попробуй так, может поможет, тока снег я выключил
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
Код
<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__). DIRECTORY_SEPARATOR . 'functions.php';
$document = null;
if (isset($this))
  $document = & $this;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->template;
artxComponentWrapper($document);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
 <jdoc:include type="head" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
</head>
<body>
<div id="art-main">
<div class="art-sheet">
    <div class="art-sheet-tl"></div>
    <div class="art-sheet-tr"></div>
    <div class="art-sheet-bl"></div>
    <div class="art-sheet-br"></div>
    <div class="art-sheet-tc"></div>
    <div class="art-sheet-bc"></div>
    <div class="art-sheet-cl"></div>
    <div class="art-sheet-cr"></div>
    <div class="art-sheet-cc"></div>
    <div class="art-sheet-body">
<div class="art-header">
    <div class="art-header-center">
        <div class="art-header-png"></div>
    </div>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/swfobject.js"></script>
<script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "<?php echo $templateUrl; ?>/expressInstall.swf");</script>

</div>
<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
<div class="art-content-layout">
    <div class="art-content-layout-row">
<?php if (artxCountModules($document, 'left')) : ?>
<div class="art-layout-cell art-sidebar1">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'left', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>
<?php $contentCellStyle = artxGetContentCellStyle($document); ?>
<div class="art-layout-cell art-<?php echo $contentCellStyle; ?>">

<?php
  echo artxModules($document, 'banner2', 'art-nostyle');
  if (artxCountModules($document, 'breadcrumb'))
    echo artxPost(null, artxModules($document, 'breadcrumb'));
  echo artxPositions($document, array('user1', 'user2'), 'art-article');
  echo artxModules($document, 'banner3', 'art-nostyle');
?>
<?php if (artxHasMessages()) : ?><div class="art-post">
    <div class="art-post-body">
<div class="art-post-inner">
<div class="art-postcontent">

<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

      <div class="cleared"></div>
    </div>
</div>
<?php endif; ?>
<div id="main_search">
         <jdoc:include type="component" />
</div>
<?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
<?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
<?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>

  <div class="cleared"></div>
</div>
<?php if (artxCountModules($document, 'right')) : ?>
<div class="art-layout-cell art-sidebar2">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'right', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>

    </div>
</div>
<div class="cleared"></div>


<?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
<div class="art-footer">
    <div class="art-footer-t"></div>
    <div class="art-footer-l"></div>
    <div class="art-footer-b"></div>
    <div class="art-footer-r"></div>
    <div class="art-footer-body">
         <?php echo artxModules($document, 'syndicate'); ?>
        <div class="art-footer-text">
  <?php if (artxCountModules($document, 'copyright') == 0): ?>
    <?php ob_start(); ?>
<p>Copyright &copy; 2011 VOLCHONOK.DP.UA</p>

    <?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?>
  <?php else: ?>
  <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
  <?php endif; ?>
        </div>
      <div class="cleared"></div>
    </div>
</div>
      <div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"></p>

</div>
</body>
</html>
попробуй так, может поможет, тока снег я выключил
Код
<?php
defined('_JEXEC') or die('Restricted access'); // no direct access
require_once dirname(__FILE__). DIRECTORY_SEPARATOR . 'functions.php';
$document = null;
if (isset($this))
  $document = & $this;
$baseUrl = $this->baseurl;
$templateUrl = $this->baseurl . '/templates/' . $this->template;
artxComponentWrapper($document);
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>
 <jdoc:include type="head" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/system.css" type="text/css" />
 <link rel="stylesheet" href="<?php echo $this->baseurl; ?>/templates/system/css/general.css" type="text/css" />
 <link rel="stylesheet" type="text/css" href="<?php echo $templateUrl; ?>/css/template.css" media="screen" />
</head>
<body>
<div id="art-main">
<div class="art-sheet">
    <div class="art-sheet-tl"></div>
    <div class="art-sheet-tr"></div>
    <div class="art-sheet-bl"></div>
    <div class="art-sheet-br"></div>
    <div class="art-sheet-tc"></div>
    <div class="art-sheet-bc"></div>
    <div class="art-sheet-cl"></div>
    <div class="art-sheet-cr"></div>
    <div class="art-sheet-cc"></div>
    <div class="art-sheet-body">
<div class="art-header">
    <div class="art-header-center">
        <div class="art-header-png"></div>
    </div>
<script type="text/javascript" src="<?php echo $templateUrl; ?>/swfobject.js"></script>
<script type="text/javascript">swfobject.switchOffAutoHideShow();swfobject.registerObject("art-flash-object", "9.0.0", "<?php echo $templateUrl; ?>/expressInstall.swf");</script>

</div>
<jdoc:include type="modules" name="user3" />
<jdoc:include type="modules" name="banner1" style="artstyle" artstyle="art-nostyle" />
<?php echo artxPositions($document, array('top1', 'top2', 'top3'), 'art-block'); ?>
<div class="art-content-layout">
    <div class="art-content-layout-row">
<?php if (artxCountModules($document, 'left')) : ?>
<div class="art-layout-cell art-sidebar1">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'left', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>
<?php $contentCellStyle = artxGetContentCellStyle($document); ?>
<div class="art-layout-cell art-<?php echo $contentCellStyle; ?>">

<?php
  echo artxModules($document, 'banner2', 'art-nostyle');
  if (artxCountModules($document, 'breadcrumb'))
    echo artxPost(null, artxModules($document, 'breadcrumb'));
  echo artxPositions($document, array('user1', 'user2'), 'art-article');
  echo artxModules($document, 'banner3', 'art-nostyle');
?>
<?php if (artxHasMessages()) : ?><div class="art-post">
    <div class="art-post-body">
<div class="art-post-inner">
<div class="art-postcontent">

<jdoc:include type="message" />

</div>
<div class="cleared"></div>

</div>

      <div class="cleared"></div>
    </div>
</div>
<?php endif; ?>
<div id="main_search">
         <jdoc:include type="component" />
</div>
<?php echo artxModules($document, 'banner4', 'art-nostyle'); ?>
<?php echo artxPositions($document, array('user4', 'user5'), 'art-article'); ?>
<?php echo artxModules($document, 'banner5', 'art-nostyle'); ?>

  <div class="cleared"></div>
</div>
<?php if (artxCountModules($document, 'right')) : ?>
<div class="art-layout-cell art-sidebar2">
 <div class="art-layout-bg"></div>
<?php echo artxModules($document, 'right', 'art-block'); ?>

  <div class="cleared"></div>
</div>
<?php endif; ?>

    </div>
</div>
<div class="cleared"></div>


<?php echo artxPositions($document, array('bottom1', 'bottom2', 'bottom3'), 'art-block'); ?>
<jdoc:include type="modules" name="banner6" style="artstyle" artstyle="art-nostyle" />
<div class="art-footer">
    <div class="art-footer-t"></div>
    <div class="art-footer-l"></div>
    <div class="art-footer-b"></div>
    <div class="art-footer-r"></div>
    <div class="art-footer-body">
         <?php echo artxModules($document, 'syndicate'); ?>
        <div class="art-footer-text">
  <?php if (artxCountModules($document, 'copyright') == 0): ?>
    <?php ob_start(); ?>
<p>Copyright &copy; 2011 VOLCHONOK.DP.UA</p>

    <?php echo str_replace('%YEAR%', date('Y'), ob_get_clean()); ?>
  <?php else: ?>
  <?php echo artxModules($document, 'copyright', 'art-nostyle'); ?>
  <?php endif; ?>
        </div>
      <div class="cleared"></div>
    </div>
</div>
      <div class="cleared"></div>
    </div>
</div>
<div class="cleared"></div>
<p class="art-page-footer"></p>

</div>
</body>
</html>
попробуй так, может поможет, тока снег я выключил

Все равно в IE тот же косяк...:(
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
скажу так... тебе легче будет переписать весь шаблон, чем поправить эту ошибку...
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
Спойлер
[свернуть]
попробуй вот это (это template.css)
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
Спойлер
[свернуть]
попробуй вот это (это template.css)

Подстанова данного CSS тоже ничего не меняет. Самое интересное, что и проверка валидаторами не наталкивает ни на какую мысль... Но интуиция подсказывает мне, что собака зарыта в чем-то простом. Буду копать дальше.
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
Цитировать
Самое интересное, что и проверка валидаторами не наталкивает ни на какую мысль..
как она может не наталкивать если FireBug пишет что есть ошибка в скрипте?
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
как она может не наталкивать если FireBug пишет что есть ошибка в скрипте?

Я пробовал отключать все абсолютно используемые javascript, вырубал motools и jquery. Удалял в шаблоне неиспользуемые позиции. Ситуации это не меняет. Вы правы, за то время, что трахаюсь с шаблоном артистира, можно было бы сверстать давно самому шаблон с нуля... Просто ради интереса хочется разобраться....
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
да и разбираться не в чём, посмотри по внимательнее на Index.php, там используется класс artxPositions, если через ксс не правится, то проблема именно в нем. А если это так, то сам понимаешь, шаблон на свалку, ибо разобраться в чужом коде сложнее чем в jquery.min.js )))
*

Pazys

  • Завсегдатай
  • 1738
  • 241 / 4
  • <a>А где я ошибся-то?</b>
А в каком именно ie? 6 7 8 9
Ишак меня нюхал ...
Если помог - плюсуйте в карму.
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
во всех вродя
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
да и разбираться не в чём, посмотри по внимательнее на Index.php, там используется класс artxPositions, если через ксс не правится

Или я туплю, но что-то я не нахожу такого класса. Стиль блока основного контента задается классом art-postcontent
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
Цитировать
Стиль блока основного контента задается классом
Спойлер
[свернуть]
я так понимаю вот этим выводятся блоки
от сюда artxModules класс модулей, artxPositions позиции модулей
*

LoraDi

  • Осваиваюсь на форуме
  • 31
  • 4 / 1
Решение!
В файл шаблона index.php вставить <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

P.S. Спасибо заказчику который заказывал у меня сайт...  ^-^
*

Palomnik

  • Захожу иногда
  • 206
  • 10 / 0
Решение!
В файл шаблона index.php вставить <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

Эмуляция IE7 давно стоит. Эта строка есть. Проблему не решает.
*

Equilibrium07

  • Захожу иногда
  • 205
  • 8 / 1
xD xD xD попробуй убрать ее)))
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Слетели URL и шаблон

Автор max888

Ответов: 2
Просмотров: 4348
Последний ответ 28.12.2020, 17:37:52
от draff
VirtueMart 1.9 шаблон письма

Автор m176

Ответов: 0
Просмотров: 1669
Последний ответ 23.10.2020, 12:38:35
от m176
шаблон IT Newsy - By IceTheme проблема со списком.

Автор wolf34

Ответов: 4
Просмотров: 4366
Последний ответ 30.05.2017, 11:52:27
от darkghost
Как изменить шаблон категории в Joomla 1.5?

Автор nagav

Ответов: 8
Просмотров: 3968
Последний ответ 24.10.2016, 22:09:01
от nagav
Не стал показываться шаблон

Автор rezchik

Ответов: 2
Просмотров: 3369
Последний ответ 14.08.2016, 22:12:50
от rezchik