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

dimonblg

  • Новичок
  • 4
  • 0 / 0
В Joomla работаю всего неделю.  Задался целью сделать шаблон сам и с 0. Сам проставил места размещения модулей (user1, user2…) Создал меню – появилось.  Создал материал который должен был появиться на главной но этого не произошло. Переключил шаблон на стандартный там мой материал появился. Может я какой модуль не прописал или  еще что…?  >:(

Код index.php

<?php
/*
* @copyright   Copyright (C) 2008 - 2009 All rights reserved.
* @license      
*/
// 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/<?php echo $this->template ;?>/css/template.css" type="text/css" />
<?php if($this->direction == 'rtl') : ?>
<link href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/template_rtl.css" rel="stylesheet" type="text/css" />
<?php endif; ?>
<link id="JTKLocalCss" href="../busines/css/template.css" rel="stylesheet" type="text/css" />
</head>

<body>
<br><br>
<table width="" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td width="179" height="84" style="background:url(../templates/busines/images/web__03.jpg) no-repeat"></td>
    <td width="17" height="84" style="background:url(../templates/busines/images/web__04.jpg) no-repeat">&nbsp;</td>
    <td width="391" height="84" style="background:url(../templates/busines/images/web__05.jpg) no-repeat">
    <jdoc:include type="modules" name="top" style="none" /></td>
  </tr>
  <tr>
    <td width="179" height="46" style="background:url(../templates/busines/images/web__07.jpg) no-repeat">
    <jdoc:include type="modules" name="user1" style="none" /></td>
    <td width="391" height="350" background="../templates/busines/images/web__11.jpg" colspan="2" rowspan="5">
    <jdoc:include type="modules" name="breadcrumb" /> </td>
  </tr>
  <tr>
    <td width="179" height="46" style="background:url(../templates/busines/images/web__10.jpg) no-repeat">
    <jdoc:include type="modules" name="user2" style="none" /></td>
  </tr>
  <tr>
    <td width="179" height="46" style="background:url(../templates/busines/images/web__10.jpg) no-repeat">
    <jdoc:include type="modules" name="user3" style="none" /></td>
  </tr>
  <tr>
    <td width="179" height="46" style="background:url(../templates/busines/images/web__10.jpg) no-repeat">
    <jdoc:include type="modules" name="user4" style="none" /></td>
  </tr>
  <tr>
    <td width="179" height="304" style="background:url(../templates/busines/images/web__12.jpg) no-repeat">
    <jdoc:include type="modules" name="user5" style="none" /></td>
  </tr>
  <tr>
    <td colspan="3" width="570" height="58" style="background:url(../templates/busines/images/web__13.jpg) no-repeat">&nbsp;</td>
  </tr>
</table>
</body>
</html>
*

dimonblg

  • Новичок
  • 4
  • 0 / 0
Благодарю за оперативность! А <jdoc:include type="component" /> где должно распологаться --- там где текст отображаеться
*

dimonblg

  • Новичок
  • 4
  • 0 / 0
frag79 огромное тебе спасибо все получилось!
*

dimonblg

  • Новичок
  • 4
  • 0 / 0
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Создание новой позиции модуля

Автор Ptalameeya

Ответов: 6
Просмотров: 7354
Последний ответ 01.03.2015, 14:32:36
от Natko23
Уникализация шаблона rhuk_milkyway

Автор zosimov

Ответов: 2
Просмотров: 3976
Последний ответ 23.12.2014, 17:30:14
от zosimov
возможность выбора шаблона пользователем

Автор vampire333

Ответов: 5
Просмотров: 7451
Последний ответ 17.02.2014, 04:24:26
от MrAlexSid
Создание новых стилей вывода модуля в файле modules.php

Автор beliyadm

Ответов: 4
Просмотров: 17722
Последний ответ 24.01.2014, 18:52:18
от faradej
[howto] Создание новой позиции модулей в Joomla 1.5 .

Автор Blinp

Ответов: 221
Просмотров: 242853
Последний ответ 25.11.2013, 16:17:06
от milk101