Новости Joomla

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

Legsmaster

  • Новичок
  • 1
  • 0 / 0
У меня вопрос, как вывести заголовок название модуля. Сайты собираю неделю поэтому поподробней скриншоты прилагаю




Код: html4strict
<?php

/**
 * @package    New-Real
  * @copyright  Copyright (C) 2012 Master Vision
 * @license    Master Vision
 */

defined('_JEXEC') or die;

/* The following line loads the MooTools JavaScript Library */
JHtml::_('behavior.framework', true);

/* The following line gets the application object for things like displaying the site name */
$app = JFactory::getApplication();
?>
<?php echo '<?'; ?>xml version="1.0" encoding="<?php echo $this->_charset ?>"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<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>
    <!-- The following JDOC Head tag loads all the header and meta information from your site config and content. -->
    <jdoc:include type="head" />

    <!-- The following five lines load the Blueprint CSS Framework (http://blueprintcss.org). If you don't want to use this framework, delete these lines. -->
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/screen.css" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/print.css" type="text/css" media="print" />
    <!--[if lt IE 8]><link rel="stylesheet" href="blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/plugins/fancy-type/screen.css" type="text/css" media="screen, projection" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/plugins/joomla-nav/screen.css" type="text/css" media="screen" />

    <!-- The following line loads the template CSS file located in the template folder. -->
    <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" />

    <!-- The following four lines load the Blueprint CSS Framework and the template CSS file for right-to-left languages. If you don't want to use these, delete these lines. -->
    <?php if($this->direction == 'rtl') : ?>
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/blueprint/plugins/rtl/screen.css" type="text/css" />
      <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_rtl.css" type="text/css" />
    <?php endif; ?>

    <!-- The following line loads the template JavaScript file located in the template folder. It's blank by default. -->
    <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/template.js"></script>
  </head>
  <body>
<div id="page">
<div id="page-inner">
<div id="poisk">
</div>
<div id="background">
<div id="logo">
<div id="logo1">
<a href="http://www.google.ru" title="Ключевое слово"> <img src="/templates/atomic/images/logo1.png" / alt="Ключеовое слово"> </a>
<div id="knopka"><jdoc:include type="modules" name="top"/>
  </div>
  </div>
 </div>
</div>
  <div id="meny">
<jdoc:include type="modules" name="sub"/>
</div>

<div id="content">
<jdoc:include type="modules" name="content1"/>
<div id="content-inner">
<div class="teaser">
<jdoc:include type="modules" name="content"/>
</div>
</div>  
 <div id="pagger">
<a href="http://www.google.ru" class="num">1 из 120</a>
<a href="http://www.google.ru" class="number">1</a>
<a href="http://www.google.ru" class="number">2</a>
<a href="http://www.google.ru" class="number">3</a>
<a href="http://www.google.ru" class="number">4</a>
<a href="http://www.google.ru" class="number">5</a>
<a href="http://www.google.ru" class="first">Слудующая</a>
<a href="http://www.google.ru" class="last">Последняя</a>
</div>
</div>  
<div id="footer">
<div id="foot-menu">
<a href="http://www.google.ru"><strong>ГЛАВНАЯ</strong></a>
<strong><a href="http://www.yandex.ru">КОНТАКТЫ</a>
<a href="http://www.yandex.ru">РЕКЛАМА НА САЙТЕ</a>
<a href="http://www.yandex.ru">АВТОРАМ</a>
<a href="http://www.yandex.ru">FAQ ПО САЙТУ</a><a href="http://www.yandex.ru"></a></strong> </div>
<div id="foot-logo">
<a href="http://www.google.ru"><img src="images/logof_03.png"/></a></div>
<div id="schet"><img src="images/liv_03.png" /></div>
<div id="text">Copyright © <a href="http://www.yandex.ru">Новая реальность</a>- портал о старых играх Копирование материалов только с разрешения редакции.</div>
</div>
</div>
</div>
</body>
</html>
« Последнее редактирование: 11.02.2012, 22:27:10 от Legsmaster »
*

SDKiller

  • Moderator
  • 2706
  • 329 / 5
  • ...ergo sum
Re: K2 Не могу вывести заголовок модуля
« Ответ #1 : 12.02.2012, 01:12:17 »
У меня вопрос, как вывести заголовок название модуля.

Если у вас после включения в настройках модуля в админке не выводится заголовок - имеет смысл добавить в <jdoc include type="modules"... ещё и стиль, по минимуму

<jdoc:include type="modules" name="content1" style="xhtml" />

Вы также можете добавить свой и переопределить отображение ваших модулей в ваш_шаблон/html/modules.php
(для образца можно посмотреть хотя бы в шаблонах, которые идут в стандартном пакете Joomla).
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

K2. Не могу создать статью. Superuser

Автор rolteknick

Ответов: 0
Просмотров: 652
Последний ответ 20.09.2019, 14:50:04
от rolteknick
Вывести пустые доп поля К2 Joomla 3

Автор face2005

Ответов: 0
Просмотров: 705
Последний ответ 07.03.2019, 13:32:08
от face2005
Как вывести последние материалы на главную в 4 колонки?

Автор sergspb

Ответов: 4
Просмотров: 791
Последний ответ 18.02.2019, 15:44:21
от Den JW
Вывести материал в модальном окне. Как?

Автор Grione

Ответов: 4
Просмотров: 917
Последний ответ 01.02.2019, 17:01:54
от Grione
Модуль bt content slider не могу избавиться от надписи No result

Автор Vinohodov

Ответов: 14
Просмотров: 3202
Последний ответ 26.04.2018, 16:06:13
от Invictus