Новости Joomla

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

ART-DELI

  • Давно я тут
  • 801
  • 75 / 9
  • Не успеешь ты – сделают другие.
Делал все как написано в FAQ
Шапка index.php
Код
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
?>
<!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" href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template.css" type="text/css" />
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->
<?php if($this->direction == 'rtl') : ?>
<link href="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/css/template_rtl.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
</head>
Дальше свой шаблон
Код
<body>
<center>
<table border="0"  width="1200" bgcolor="" cellspacing="0" cellpadding="0">
<tr  width="1200"> <img  src="<?php echo $this->baseurl ?>/templates/djfm_temp/center_djfm.png"  border="0" /></tr>
<tr>
<td width="386"> row 2, column 1 </td>
<td width="435"><img  src="<?php echo $this->baseurl ?>/templates/djfm_temp/bottom_djfm.png"  border="0" /></td>
<td width="379"> row 2, column 3 </td>
</tr>
</table>
<table border="0"  width="1200" height="800" bgcolor="" cellspacing="0" cellpadding="0">
<tr  width="1200">

<td width="508" valign="top">
    <?php if($this->countModules('user4')) : ?>
<jdoc:include type="modules" name="user4" />
<?php endif; ?>
</td>

<td width="183" valign="top">
<?php if($this->countModules('left')) : ?>
<jdoc:include type="modules" name="left" style="rounded" />
<?php endif; ?>
</td>
<td width="508"></td>
</tr>
</table>
</body>
</center>
</body>
Главное меню вывелось.. А вот позиция user4 вообще не отображается..Есть модуль который в ней опубликован.. Сначала он нормально отображался, но когда я пытался создать новую позицию user2, то перестали отображаться все позиции..
Хотя в факе написано что
Код
<jdoc:include type="modules" name="left" style="rounded" />
вполне достаточно..
Блин, вечно с этими шаблонами какие то глюки..
*

SmokerMan

  • Гуру
  • 5290
  • 720 / 26
Re: Что за чудеса с позициями модулей
« Ответ #1 : 15.01.2010, 14:31:32 »
посмотри все ли правильно в XML шаблона.
*

ART-DELI

  • Давно я тут
  • 801
  • 75 / 9
  • Не успеешь ты – сделают другие.
Все само стало нормально..Черт его знает что за барабашка лазите по сервере)
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Конфликт Jquery и модулей

Автор Tref_mast

Ответов: 5
Просмотров: 4457
Последний ответ 01.08.2014, 17:07:27
от testttcoll
Смена модулей местами, колонки

Автор Mangoz

Ответов: 2
Просмотров: 2719
Последний ответ 27.02.2013, 00:03:00
от Taatshi
Редактирование шаблона модулей

Автор wings_fury

Ответов: 1
Просмотров: 1500
Последний ответ 30.01.2013, 12:34:28
от art-apple
Как сделать что бы контент отображался на определенных страницах во всю ширину без модулей.

Автор TsMax

Ответов: 2
Просмотров: 1670
Последний ответ 02.08.2012, 15:10:31
от TsMax
Как разблокировать позиции для модулей в шаблоне ?

Автор dr_noodle

Ответов: 11
Просмотров: 3826
Последний ответ 02.07.2012, 20:24:11
от dr_noodle