В 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"> </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"> </td>
</tr>
</table>
</body>
</html>