Доброго дня.
Люди человеки уже всю голову сломал, ну никак не понимаю стратегию работы с Joomla. Подскажите кто может.
вот я сверстал себе шаблон сайта на HTML. первый раз в жизни поставил жомлу, сделал там как положено CSS, js, XML, index.php.
в index.php у меня из всякой документации пока следующее.
<?php
/**
* @package Gidural
* @copyright Copyright (C) 2011 Detkliff. All rights reserved.
* @license
*/
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" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css" type="text/css" media="screen, projection" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/menu.css" type="text/css" media="screen, projection" />
<!-- 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/jquery-1.7.2.js"></script>
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/func.js"></script>
</head>
<body>
<?php echo $app->getCfg('sitename');?><br />
<jdoc:include type="modules" name="header" />
<jdoc:include type="modules" name="left" />
<jdoc:include type="modules" name="body" />
<jdoc:include type="modules" name="right" />
<jdoc:include type="modules" name="footer" />
<jdoc:include type="modules" name="debug" />
<jdoc:include type="component" />
</body>
</html>
Все работает без ошибок. Теперь главный вопрос - куда надо вставлять мой HTML? В нем все разбито на header, left, footer и тд.
вот у меня хедер допустим
<div id="header">
<ul class="vipod2">
<li><a href="index.php?page=news">Водопады</a></li><br/>
<li><a href="index.php?page=news">Горы</a></li><br/>
</ul>
</div>
вот куда мне теперь засунуть этот хедер, чтобы он отобразился на странице и чтобы через админку можно было бы менять эти имена Водопады, Горы.
перечитал уже гору документации и пересмотрел видео, если кто может напишите для особоодаренных видимо.
заранее спасибо!