Здравствуйте ув. форумчане. Вот решил с ноля сделать шаблон... Вроде всё сделал по инструкциям - сверстал, поставил позиции, записал в файл свойств все файлы и.т.д.... итого при активации шаблона появляется страница с содержимым "
<link rel="stylesheet" href="".
папка
template1/
index.php-----------------------------------------------------------
<?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 $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(); ?>style.css" type="text/css" />
</head>
<body>
<center>
<table id="main">
<tr>
<td id="menu"><jdoc:include type="modules" name="top" style="xhtml" /></td>
</tr>
<tr>
<td><table id="logo">
<tr>
<td></td>
<td id="logopanel"><jdoc:include type="modules" name="lang" style="xhtml" /></div>
<div class="date"><jdoc:include type="modules" name="lang" style="xhtml" /></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td><table id="content">
<tr>
<td id="stend"><jdoc:include type="modules" name="left" style="xhtml" /></td>
<td id="stend2"><div class="block">
<jdoc:include type="modules" name="user1" style="xhtml" />
<div class="blocktext"><jdoc:include type="component" /></div>
</div>
<jdoc:include type="modules" name="user2" style="xhtml" />
</td>
</tr>
</table></td>
</tr>
<tr>
<td id="bottom"><table width="1000">
<tr>
<td id="crea"></td>
<td id="powered"><jdoc:include type="modules" name="top" style="xhtml" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>-----------------------------------------------------------
templateDetails.xml-----------------------------------------------------------
<?xml version="1.0" encoding="utf-8"?>
<install version="1.5" type="template">
<name>template1</name>
<version>1.0</version>
<creationDate>14.02.2010</creationDate>
<author>Hijacker</author>
<authorEmail>hijacker...</authorEmail>
<authorUrl>url</authorUrl>
<copyright>Информация об авторских правах</copyright>
<description>Оригинальший шаблон</description>
<files>
<filename>index.php</filename>
<filename>templateDetails.xml</filename>
</files>
<css>
<filename>style.css</filename>
</css>
<images>
<filename>images/bg.png</filename>
<filename>images/blockhead.png</filename>
<filename>images/button.png</filename>
<filename>images/contentbg.png</filename>
<filename>images/logo.jpg</filename>
<filename>images/powered.png</filename>
<filename>images/poweredbg.png</filename>
<filename>template_thumbnail.png</filename>
</images>
<positions>
<position>top</position>
<position>lang</position>
<position>left</position>
<position>bottom</position>
<position>user1</position>
<position>user1</position>
</positions>
</install>-----------------------------------------------------------
Вчера всё возможное перепробовал... Мне кажется переменная
<?php echo $tmpTools->baseurl(); ?> не работает, хотя и
<jdoc:include type="head" /> не обрабатывается.
В Опере исходный код выглядит таким образом:
-----------------------------------------------------------
<!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="ru-ru" lang="ru-ru" >
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="-----------------------------------------------------------
Пожалуйста помогите!