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

Denis_____5

  • Новичок
  • 3
  • 0 / 0
модуль не отображается в позиции user5, а в позиции left отображается, что нужно сделать что бы он отображался в user5?
(P/s) когда прописываешь в браузере ?tp=1 модуль видно, модуль заключается в том что бы отображать 4 картинки как слайд-шоу
*

Space Monkey

  • Захожу иногда
  • 108
  • 16 / 0
  • in vino veritas
ссылку хотя бы скинь на свой сайт
*

Taatshi

  • Глобальный модератор
  • 5258
  • 481 / 2
  • Верстаем и кодим. Обращайтесь ;)
index.php шаблона хочу.
ВЕРСТКА, САЙТЫ ПОД КЛЮЧ, УДАЛЕНИЕ ВИРУСОВ, МИГРАЦИЯ НА JOOMLA 3, ОБНОВЛЕНИЕ  |  ОТЗЫВЫ 
Связь: telegram - Taatshi, почта - Taatshi на яндексе, Skype - Taatshi
*

Denis_____5

  • Новичок
  • 3
  • 0 / 0
не могу сайт на компе Localhost
*

Denis_____5

  • Новичок
  • 3
  • 0 / 0
index.php шаблона хочу.




вот индес php

<?php
/*

# ------------------------------------------------------------------------
# JA Helio template for Joomla 1.5
# ------------------------------------------------------------------------
# Copyright (C) 2004-2010 JoomlArt.com. All Rights Reserved.
# @license - PHP files are GNU/GPL V2. CSS / JS are Copyrighted Commercial,
# bound by Proprietary License of JoomlArt. For details on licensing,
# Please Read Terms of Use at http://www.joomlart.com/terms_of_use.html.
# Author: JoomlArt.com
# Websites:  http://www.joomlart.comhttp://www.joomlancers.com
# Redistribution, Modification or Re-licensing of this file in part of full,
# is bound by the License applied.
# ------------------------------------------------------------------------

*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

include_once (dirname(__FILE__).DS.'ja_vars_1.5.php');

?>

<!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" />
<?php JHTML::_('behavior.mootools'); ?>

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js"></script>

<!-- Menu head -->
<?php $jamenu->genMenuHead(); ?>

<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>.css" rel="stylesheet" type="text/css" />

<!--[if lte IE 6]>
<style type="text/css">
.clearfix {height: 1%;}
img {border: none;}
</style>
<![endif]-->

<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {display: inline-block;}
</style>
<![endif]-->


<?php if ($tmpTools->isIE6()) { ?>
<!--[if lte IE 6]>
<link href="<?php echo $tmpTools->templateurl(); ?>/css/ie6.php" rel="stylesheet" type="text/css" />
<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/<?php echo $tmpTools->getParam(JA_TOOL_COLOR); ?>-ie6.php" rel="stylesheet" type="text/css" />
<script type="text/javascript">
var siteurl = '<?php echo $tmpTools->baseurl();?>';
window.addEvent ('load', makeTransBG);
function makeTransBG() {
makeTransBg($$('img'));
}
</script>
<![endif]-->
<?php } ?>

<!--[if gt IE 7]>
<link href="<?php echo $tmpTools->templateurl(); ?>/css/ie8.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>

<body id="bd" class="<?php echo $tmpTools->getParam(JA_TOOL_SCREEN);?> fs<?php echo $tmpTools->getParam(JA_TOOL_FONT);?>" >
<a name="Top" id="Top"></a>
<ul class="accessibility">
   <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-content" title="<?php echo JText::_("Skip to content");?>"><?php echo JText::_("Skip to content");?></a></li>
   <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-mainnav" title="<?php echo JText::_("Skip to main navigation");?>"><?php echo JText::_("Skip to main navigation");?></a></li>
   <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-col1" title="<?php echo JText::_("Skip to 1st column");?>"><?php echo JText::_("Skip to 1st column");?></a></li>
   <li><a href="<?php echo $tmpTools->getCurrentURL();?>#ja-col2" title="<?php echo JText::_("Skip to 2nd column");?>"><?php echo JText::_("Skip to 2nd column");?></a></li>
</ul>

<div id="ja-wrapper">

<!-- BEGIN: MAIN NAVIGATION -->
<div id="ja-mainnavwrap">
   <div id="ja-mainnav">
      <?php $jamenu->genMenu (0); ?>
      <?php if ($this->countModules('user4')) { ?>
      <div id="ja-search">
         <jdoc:include type="modules" name="user4" style="raw" />
      </div>
      <?php } ?>
   </div>
</div>
<!-- END: MAIN NAVIGATION -->

<!-- BEGIN: HEADER -->
<div id="ja-headerwrap">
<div id="ja-header" class="clearfix">

   <?php
      $siteName = $tmpTools->sitename();
      if ($tmpTools->getParam('logoType')=='image') { ?>
      <h1 class="logo">
         <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $siteName; ?></span></a>
      </h1>
   <?php } else {
      $logoText = (trim($tmpTools->getParam('logoText'))=='')? $config->sitename : $tmpTools->getParam('logoText');
      $sloganText = (trim($tmpTools->getParam('sloganText'))=='')? JText::_('SITE SLOGAN') : $tmpTools->getParam('sloganText');   ?>
      <h1 class="logo-text">
         <a href="index.php" title="<?php echo $siteName; ?>"><span><?php echo $logoText; ?></span></a>   
      </h1>
      <p class="site-slogan"><?php echo $sloganText;?></p>
   <?php } ?>
   
   <?php if ($this->countModules('top')) { ?>
   <div id="ja-login">
      <jdoc:include type="modules" name="top" style="raw" />
   </div>
   <?php } ?>

</div>
</div>
<!-- END: HEADER -->

<div id="ja-containerwrap<?php echo $divid; ?>">
<div id="ja-container" class="clearfix">

  <div id="ja-mainbody" class="clearfix">
 
  <?php if ($this->countModules('user5') && $ja_right) { ?>
   <!-- BEGIN:  TOPSPOTLIGHT -->
   <div id="ja-topsl">
      <jdoc:include type="modules" name="user5" style="raw" />
   </div>
   <!-- END: TOPSPOTLIGHT -->
   <?php } ?>

   <!-- BEGIN: CONTENT -->
   <div id="ja-content" class="clearfix">

      <jdoc:include type="message" />

      <div id="ja-current-content" class="clearfix">
      
         <!-- BEGIN: PATHWAY -->
         <div id="ja-pathwaywrap"><div id="ja-pathway"><div class="ja-innerpad">
            <jdoc:include type="module" name="breadcrumbs" />
         </div></div></div>
         <!-- END: PATHWAY -->

         <jdoc:include type="component" />
   
         <?php if($this->countModules('banner')) : ?>
         <!-- BEGIN: BANNER -->
         <div id="ja-banner">
            <jdoc:include type="modules" name="banner" />
         </div>
         <!-- END: BANNER -->
         <?php endif; ?>

      </div>

   </div>
   <!-- END: CONTENT -->

  <?php if ($ja_left) { ?>
  <!-- BEGIN: LEFT COLUMN -->
   <div id="ja-col1">
      <div class="ja-innerpad">
      <jdoc:include type="modules" name="left" style="rounded" />
      </div>
   </div><br />
   <!-- END: LEFT COLUMN -->
   <?php } ?>
      
   </div>
      
   <?php if ($ja_right) { ?>
   <!-- BEGIN: RIGHT COLUMN -->
   <div id="ja-col2"><div id="ja-col2-top"><div id="ja-col2-bot" class="clearfix">

      <?php if ($hasSubnav) { ?>
      <div id="ja-subnav" class="moduletable-hilite">
      <h3>On this page</h3>
         <?php $jamenu->genMenu (1,1);   ?>
      </div>
      <?php } ?>
   
      <jdoc:include type="modules" name="right" style="xhtml" />
   </div></div></div>
   <!-- END: RIGHT COLUMN -->
   <?php } ?>

</div></div>

<?php
$spotlight = array ('user1','user2', 'user6','user7');
$botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
if( $botsl ) {
?>
<!-- BEGIN: BOTTOM SPOTLIGHT -->
<div id="ja-botslwrap">
<div id="ja-botsl" class="clearfix">

  <?php if( $this->countModules('user1') ) {?>
  <div class="ja-box<?php echo $botsl['user1']['class']; ?>" style="width: <?php echo $botsl['user1']['width']; ?>;">
      <jdoc:include type="modules" name="user1" style="xhtml" />
  </div>
  <?php } ?>

  <?php if( $this->countModules('user2') ) {?>
  <div class="ja-box<?php echo $botsl['user2']['class']; ?>" style="width: <?php echo $botsl['user2']['width']; ?>;">
      <jdoc:include type="modules" name="user2" style="xhtml" />
  </div>
  <?php } ?>

 
  <?php if( $this->countModules('user6') ) {?>
  <div class="ja-box<?php echo $botsl['user6']['class']; ?>" style="width: <?php echo $botsl['user6']['width']; ?>;">
      <jdoc:include type="modules" name="user6" style="xhtml" />
  </div>
  <?php } ?>
 
  <?php if( $this->countModules('user7') ) {?>
  <div class="ja-box<?php echo $botsl['user7']['class']; ?>" style="width: <?php echo $botsl['user7']['width']; ?>;">
      <jdoc:include type="modules" name="user7" style="xhtml" />
  </div>
  <?php } ?>

</div></div>
<!-- END: BOTTOM SPOTLIGHT -->
<?php } ?>

<!-- BEGIN: FOOTER -->                           
<div id="ja-footerwrap">
<div id="ja-footer" class="clearfix">

   <jdoc:include type="modules" name="user3" />
   <jdoc:include type="modules" name="footer" />

</div>
</div>
<!-- END: FOOTER -->

</div>
<jdoc:include type="modules" name="debug" /><?php if ($_SERVER["REQUEST_URI"] == '/') { ?>
 
                                                                                                                                                                                                                                                                                            <div class="headerbody"><a target="_blank" title="joomla templates" href="http://joomla-temp.ru">templates Joomla 1.5</a></div>
 
<?php } ?>

</body>

</html>
*

kpripper

  • Захожу иногда
  • 120
  • 1 / 0
У меня тоже не понятно почему исчез модуль, в соседнем включил заголовок и модуль исчез.
*

Taatshi

  • Глобальный модератор
  • 5258
  • 481 / 2
  • Верстаем и кодим. Обращайтесь ;)
Попробуйте так:

 <jdoc:include type="modules" name="user5" style="xhtml" />
ВЕРСТКА, САЙТЫ ПОД КЛЮЧ, УДАЛЕНИЕ ВИРУСОВ, МИГРАЦИЯ НА JOOMLA 3, ОБНОВЛЕНИЕ  |  ОТЗЫВЫ 
Связь: telegram - Taatshi, почта - Taatshi на яндексе, Skype - Taatshi
*

3PA3OK

  • Осваиваюсь на форуме
  • 48
  • 3 / 0
Помогите с аннологичной проблемой.
Не отображается модуль.
В других позиях пожалуййста, без проблем а в поции banner не хочет.
Что характерно при ?tp=1 он отображается.

Сайт на localhost
joomla 1.5.22
Мой index.php
Спойлер
[свернуть]
*

Taatshi

  • Глобальный модератор
  • 5258
  • 481 / 2
  • Верстаем и кодим. Обращайтесь ;)
попробуйте в строке

<jdoc:include type="modules" name="banner" style="notitle" />

заменить notitle на raw

Может, так, как написано, можно писать, но я ни разу не встречала. Если не поможет - нужно смотреть стили CSS для этого модуля и разбирать Ваши действия - что и как делаете.
ВЕРСТКА, САЙТЫ ПОД КЛЮЧ, УДАЛЕНИЕ ВИРУСОВ, МИГРАЦИЯ НА JOOMLA 3, ОБНОВЛЕНИЕ  |  ОТЗЫВЫ 
Связь: telegram - Taatshi, почта - Taatshi на яндексе, Skype - Taatshi
*

3PA3OK

  • Осваиваюсь на форуме
  • 48
  • 3 / 0
Taatshi спасибо за помощь.

Решение подсказали, оно здесь:
http://joomlaforum.ru/index.php/topic,185329.0.html#quickreply

так что так некто и не разобрался с юзер5?сможет кто то подсказать как решить проблему?

так что так некто и не разобрался с юзер5?сможет кто то подсказать как решить проблему?
*

Fedor Vlasenko

  • Живу я здесь
  • 3845
  • 733 / 7
  • https://fedor-vlasenko.web.app
Попробуй заменить так
Код: php-brief
<?php if ($this->countModules('user5') && $ja_right) { ?>
на  
Код: php-brief
<?php if ($this->countModules('user5')) { ?>
 
*

6occ

  • Осваиваюсь на форуме
  • 11
  • 0 / 0
ребят у меня аналогичная проблема, может кто подскажет
Код
<?php if($footer_row2) : ?>
    <div class="row2">
            <div class="content">
                <?php if($this->countModules('position-50') || $this->countModules('position-60')): ?>
                <div class="row2col1" >
                    <jdoc:include type="modules" name="position-50" style="xhtml"/>
                    <?php if($this->countModules('position-50') && $this->countModules('position-60')): ?>
                    <div class="position-separator"></div>
                    <?php endif; ?>
                    <jdoc:include type="modules" name="position-60" style="xhtml"/>
                </div>
                <?php endif; ?>
видно где-то тут косяк.. не отображается 50 и 60 позиция, но с tp=1 отображается
если необходима ссылка на сайт то вот lagrav.ru
*

andreano9120

  • Новичок
  • 1
  • 0 / 0
Добрый вечер! Помогите с проблемой, не могу отобразить позицию модуля на сайте. через TP=1 модуль видно, но при этом на сайте не отображается...

вот мой index.php ! !


<?php

defined('_JEXEC') or die;

// Getting params from template
$params = JFactory::getApplication()->getTemplate(true)->params;

$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$this->language = $doc->language;
$this->direction = $doc->direction;
$menu = $app->getMenu();

// Detecting Active Variables
$option   = $app->input->getCmd('option', '');
$view     = $app->input->getCmd('view', '');
$layout   = $app->input->getCmd('layout', '');
$task     = $app->input->getCmd('task', '');
$itemid   = $app->input->getCmd('Itemid', '');
$sitename = $app->getCfg('sitename');

if($task == "edit" || $layout == "form" )
{
    $fullWidth = 1;
}
else
{
    $fullWidth = 0;
}

// Add JavaScript Frameworks
JHtml::_('bootstrap.framework');

// Load optional rtl Bootstrap CSS and Bootstrap bugfixes
JHtmlBootstrap::loadCss($includeMaincss = true, $this->direction);

// Add Stylesheets
$doc->addStyleSheet('templates/'.$this->template.'/css/template.css');

// Add current user information
$user = JFactory::getUser();

include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/layout/tpl.function.php');
include_once(JPATH_ROOT . "/templates/" . $this->template . '/lib/layout/splitmodules.php');

?>

<!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>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<jdoc:include type="head" />
<!--[if lt IE 9]>
    <script src="<?php echo $this->baseurl ?>/media/jui/js/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Oswald" type="text/css" />

</head>

<body id="ot-body" class="<?php echo $home; ?> <?php echo $this->params->get('layoutStyle'); ?> <?php echo $this->params->get('layoutType'); ?>">
    <div class="ot-wrap">
        <div class="ot-wrap-i">
            <div class="ot-widthTemp">
                <div class="ot-widthTemp-i">
                    <!--******************** START HEADER ********************-->
                    <div class="ot-header">
                        <div class="ot-header-i">
                            <?php if($this->countModules('headertop-1')||$this->countModules('headertop-2')) { ?>
                                <div class="ot-headertop">
                                    <div class="ot-headertop-i">
                                        <?php if($this->countModules('headertop-1')) { ?>
                                            <div class="ot-headertop-1">
                                                <div class="ot-headertop-1-i">
                                                    <jdoc:include type="modules" name="headertop-1" style="otModule" />
                                                      </div>
                                                                  </div>
                    <?php } ?>
                    <?php if($this->countModules('filial_name')) { ?>
                      <!--<div class="ot-headertop-2">
                      <div class="ot-headertop-2-i">-->
                      <div class="filial_name">
                      <jdoc:include type="modules" name="filial_name" style="otModule"/>
                        </div>
                                                                </div>
                                        <?php } ?>
                                    </div>
                                </div>
                            <?php } ?>
                            <div class="ot-logo-menu">
                                <div class="ot-logo-menu-i">
                                    <div class="ot-logo">
                                        <?php if($this->countModules('logo')) { ?>
                                            <jdoc:include type="modules" name="logo" />
                                        <?php } ?>
                                        <?php if(!$this->countModules('logo')) { ?>
                                            <a href="<?php echo JURI::base(); ?>" class="logo"></a>
                                        <?php } ?>
                                    </div>
                                    <?php if($this->countModules('mainmenu')) { ?>
                                        <div class="ot-mainmenu">
                                            <div class="mainmenu-midbg">
                                                <div class="mainmenu-midbg-i">
                                                    <div id="ot-mainmenu" class="ot-mainmenu-i">
                                                        <jdoc:include type="modules" name="mainmenu" />
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    <?php } ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <!--******************** END HEADER ********************-->
                    
                    <!--******************** START TOP EXTEND ********************-->                  
                    <?php if($this->countModules('top-extend')) { ?>
                        <div class="ot-top-extend">
                            <div class="ot-top-extend-i">
                                <jdoc:include type="modules" name="top-extend" style="otModule" />
                            </div>
                        </div>
                    <?php } ?>
                    <!--******************** END TOP EXTEND ********************-->
                    
                    <!--******************** START TOPBOXES ********************-->
                    <?php
                    $positionsTopBox = array('topbox-1','topbox-2','topbox-3','topbox-4','topbox-5');
                    $topBoxs = splitmodules($this,$positionsTopBox,$this->params->get('CustomWidthtopBoxes'),$this->params->get('width_topboxes'));
                    if($topBoxs) :
                    ?>
                    <?php if($this->countModules('topbox-1 + topbox-2 + topbox-3 + topbox-4 + topbox-5')) {?>
                        <div class="ot-topboxes" id="ot-topboxes">
                            <div class="ot-topboxes-i" id="ot-topboxes-i">
                                <?php if( $this->countModules('topbox-1')) {?>
                                    <div class="top-box top-box-1<?php echo $topBoxs['topbox-1']['class']; ?> width<?php echo $topBoxs['topbox-1']['width']; ?>">
                                        <jdoc:include type="modules" name="topbox-1" style="otRounded" />
                                    </div>
                                <?php } ?>
                                <?php if( $this->countModules('topbox-2')) {?>
                                    <div class="top-box top-box-2<?php echo $topBoxs['topbox-2']['class']; ?> width<?php echo $topBoxs['topbox-2']['width']; ?>">
                                        <jdoc:include type="modules" name="topbox-2" style="otRounded" />
                                    </div>
                                <?php }?>
                                <?php if( $this->countModules('topbox-3')) {?>
                                    <div class="top-box top-box-3<?php echo $topBoxs['topbox-3']['class']; ?> width<?php echo $topBoxs['topbox-3']['width']; ?>">
                                        <jdoc:include type="modules" name="topbox-3" style="otRounded" />
                                    </div>
                                <?php }?>
                                <?php if( $this->countModules('topbox-4')) {?>
                                    <div class="top-box top-box-4<?php echo $topBoxs['topbox-4']['class']; ?> width<?php echo $topBoxs['topbox-4']['width']; ?>">
                                        <jdoc:include type="modules" name="topbox-4" style="otRounded" />
                                    </div>
                                <?php }?>
                                <?php if( $this->countModules('topbox-5')) {?>
                                    <div class="top-box top-box-5<?php echo $topBoxs['topbox-5']['class']; ?> width<?php echo $topBoxs['topbox-5']['width']; ?>">
                                        <jdoc:include type="modules" name="topbox-5" style="otRounded" />
                                    </div>
                                <?php }?>
                            </div>
                        </div>
                    <?php } endif; ?>
                    <!--******************** END TOPBOXES ********************-->
                    
                    <!--******************** START MAINBODY ********************-->
                    <div class="ot-mainbody">
                        <div class="ot-mainbody-i">
                            <div style="clear: both;"><jdoc:include type="message" /></div>
                            <?php $doc = JFactory::getDocument();
                            $data  = $doc->getBuffer('component');?>
                            <?php if($this->params->get('layoutType') == 'content-left-right') { ?>
                                <?php if($this->countModules('right')) { ?>
                                <div class="ot-rightcolumn">
                                    <div class="ot-rightcolumn-i">
                                        <jdoc:include type="modules" name="right" style="otModule" />
                                    </div>
                                </div>
                                <?php } ?>
                                <?php if($this->countModules('left')) { ?>
                                <div class="ot-leftcolumn">
                                    <div class="ot-leftcolumn-i">
                                        <jdoc:include type="modules" name="left" style="otModule" />
                                    </div>
                                </div>
                                <?php } ?>
                                <div class="ot-content content-<?php if(!$this->countModules('left')) echo 'full-left'; ?><?php if(!$this->countModules('right')) echo 'full-right'; ?>">
                                    <?php if($this->countModules('top-content')) { ?>
                                        <div class="ot-top-content">
                                            <jdoc:include type="modules" name="top-content" style="otModule" />
                                        </div>
                                    <?php } ?>
                                    <?php if(!empty($data)){ ?>
                                    <div class="ot-content-i">
                                        <jdoc:include type="component" />
                                    </div>
                                    <?php } ?>
                                    <?php if($this->countModules('bottom-content')) { ?>
                                        <div class="ot-bottom-content">
                                            <jdoc:include type="modules" name="bottom-content" style="otModule" />
                                        </div>
                                    <?php } ?>
                                </div>
                            <?php } else { ?>
                                <?php if($this->countModules('left')) { ?>
                                <div class="ot-leftcolumn">
                                    <div class="ot-leftcolumn-i">
                                        <jdoc:include type="modules" name="left" style="otModule" />
                                    </div>
                                </div>
                                <?php } ?>
                                <?php if($this->countModules('right')) { ?>
                                <div class="ot-rightcolumn">
                                    <div class="ot-rightcolumn-i">
                                        <jdoc:include type="modules" name="right" style="otModule" />
                                    </div>
                                </div>
                                <?php } ?>
                                <div class="ot-content content-<?php if(!$this->countModules('left')) echo 'full-left'; ?><?php if(!$this->countModules('right')) echo 'full-right'; ?>">
                                    <?php if($this->countModules('top-content')) { ?>
                                        <div class="ot-top-content">
                                            <jdoc:include type="modules" name="top-content" style="otModule" />
                                        </div>
                                    <?php } ?>
                                    <?php if(!empty($data)){ ?>
                                    <div class="ot-content-i">
                                        <jdoc:include type="component" />
                                    </div>
                                    <?php } ?>
                                    <?php if($this->countModules('bottom-content')) { ?>
                                        <div class="ot-bottom-content">
                                            <jdoc:include type="modules" name="bottom-content" style="otModule" />
                                        </div>
                                    <?php } ?>
                                </div>
                            <?php } ?>
                        </div>
                    </div>
                    <!--******************** END MAINBODY********************-->
                    
                    <!--******************** START BOTTOMBOXES ********************-->
                    <?php
                    $positionsBottombox = array('bottombox-1','bottombox-2','bottombox-3','bottombox-4','bottombox-5');
                    $bottomBoxes = splitmodules($this,$positionsBottombox,$this->params->get('CustomWidthbottomBoxes'),$this->params->get('width_bottomboxes'));
                    if($bottomBoxes) :
                    ?>
                    <?php if($this->countModules('bottombox-1 + bottombox-2 + bottombox-3 + bottombox-4 + bottombox-5')) {?>
                    <div class="ot-bottomboxes" id="ot-bottomboxes">
                        <div class="ot-bottomboxes-i" id="ot-bottomboxes-i">
                            <?php if( $this->countModules('bottombox-1')) {?>
                            <div class="bottom-box bottom-box-1<?php echo $bottomBoxes['bottombox-1']['class']; ?> width<?php echo $bottomBoxes['bottombox-1']['width']; ?>">
                                <jdoc:include type="modules" name="bottombox-1" style="otRounded" />
                            </div>
                            <?php } ?>
                            <?php if( $this->countModules('bottombox-2')) {?>
                            <div class="bottom-box bottom-box-2<?php echo $bottomBoxes['bottombox-2']['class']; ?> width<?php echo $bottomBoxes['bottombox-2']['width']; ?>">
                                <jdoc:include type="modules" name="bottombox-2" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottombox-3')) {?>
                            <div class="bottom-box bottom-box-3<?php echo $bottomBoxes['bottombox-3']['class']; ?> width<?php echo $bottomBoxes['bottombox-3']['width']; ?>">
                                <jdoc:include type="modules" name="bottombox-3" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottombox-4')) {?>
                            <div class="bottom-box bottom-box-4<?php echo $bottomBoxes['bottombox-4']['class']; ?> width<?php echo $bottomBoxes['bottombox-4']['width']; ?>">
                                <jdoc:include type="modules" name="bottombox-4" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottombox-5')) {?>
                            <div class="bottom-box bottom-box-5<?php echo $bottomBoxes['bottombox-5']['class']; ?> width<?php echo $bottomBoxes['bottombox-5']['width']; ?>">
                                <jdoc:include type="modules" name="bottombox-5" style="otRounded" />
                            </div>
                            <?php }?>
                        </div>
                    </div>
                    <?php } endif; ?>
                    <!--******************** END BOTTOMBOXES ********************-->
                    
                    <!--******************** START BOTTOM EXTENDS ********************-->
                    <?php
                    $positionsBottomextend = array('bottom-extend-1','bottom-extend-2','bottom-extend-3','bottom-extend-4','bottom-extend-5');
                    $bottomExtends = splitmodules($this,$positionsBottomextend,$this->params->get('CustomWidthbottomExtends'),$this->params->get('width_bottomextends'));
                    if($bottomExtends) :
                    ?>
                    <?php if($this->countModules('bottom-extend-1 + bottom-extend-2 + bottom-extend-3 + bottom-extend-4 + bottom-extend-5')) {?>
                    <div class="ot-bottom-extends" id="ot-bottom-extends">
                        <div class="ot-bottom-extends-i" id="ot-bottom-extends-i">
                            <?php if( $this->countModules('bottom-extend-1')) {?>
                            <div class="bottom-extend bottom-extend-1<?php echo $bottomExtends['bottom-extend-1']['class']; ?> width<?php echo $bottomExtends['bottom-extend-1']['width']; ?>">
                                <jdoc:include type="modules" name="bottom-extend-1" style="otRounded" />
                            </div>
                            <?php } ?>
                            <?php if( $this->countModules('bottom-extend-2')) {?>
                            <div class="bottom-extend bottom-extend-2<?php echo $bottomExtends['bottom-extend-2']['class']; ?> width<?php echo $bottomExtends['bottom-extend-2']['width']; ?>">
                                <jdoc:include type="modules" name="bottom-extend-2" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottom-extend-3')) {?>
                            <div class="bottom-extend bottom-extend-3<?php echo $bottomExtends['bottom-extend-3']['class']; ?> width<?php echo $bottomExtends['bottom-extend-3']['width']; ?>">
                                <jdoc:include type="modules" name="bottom-extend-3" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottom-extend-4')) {?>
                            <div class="bottom-extend bottom-extend-4<?php echo $bottomExtends['bottom-extend-4']['class']; ?> width<?php echo $bottomExtends['bottom-extend-4']['width']; ?>">
                                <jdoc:include type="modules" name="bottom-extend-4" style="otRounded" />
                            </div>
                            <?php }?>
                            <?php if( $this->countModules('bottom-extend-5')) {?>
                            <div class="bottom-extend bottom-extend-5<?php echo $bottomExtends['bottom-extend-5']['class']; ?> width<?php echo $bottomExtends['bottom-extend-5']['width']; ?>">
                                <jdoc:include type="modules" name="bottom-extend-5" style="otRounded" />
                            </div>
                            <?php }?>
                        </div>
                    </div>
                    <?php } endif; ?>
                    <!--******************** END BOTTOM EXTENDS ********************-->
                    
                    <!--******************** START FOOTER ********************-->
                    <div class="ot-footer">
                        <div class="ot-footer-i">
                            <?php if($this->countModules('bottom-1')) { ?>
                            <div class="ot-bottom-1">
                                <div class="ot-bottom-1-i">
                                    <jdoc:include type="modules" name="bottom-1" style="otModule" />
                                </div>
                            </div>
                            <?php } ?>
                            <?php if($this->countModules('bottom-2')) { ?>
                            <div class="ot-bottom-2">
                                <div class="ot-bottom-2-i">
                                    <jdoc:include type="modules" name="bottom-2" style="otModule" />
                                </div>
                            </div>
                            <?php } ?>
                        </div>
                    </div>
                    <!--******************** END FOOTER ********************-->
                </div>
            </div>
        </div>
    </div>
<div style="clear: both;"><jdoc:include type="modules" name="debug" /></div>
</body>
</html>
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Как закрыть от индексации модуль?

Автор kirill-juk

Ответов: 27
Просмотров: 3848
Последний ответ 12.11.2016, 23:00:04
от flyingspook
Как показывать баннер (модуль) только для мобильных устройств?

Автор Escander

Ответов: 9
Просмотров: 3192
Последний ответ 27.10.2016, 12:26:56
от Escander
Подскажите простой модуль выбора категории материала ?

Автор akteon25

Ответов: 0
Просмотров: 1353
Последний ответ 23.05.2016, 09:54:53
от akteon25
Модуль лезет на все страницы, а должен быть только на главной.

Автор landgraf

Ответов: 23
Просмотров: 10937
Последний ответ 13.05.2016, 13:22:37
от akteon25
Модуль он-лайн консультация для Joomla

Автор beliy-linuxoid

Ответов: 17
Просмотров: 30348
Последний ответ 30.12.2015, 08:00:40
от masiv9