próbuję stworzyć własny szablon CMS... niestety po zainstalowaniu szablonu oraz przypisaniu modułów nic się nie dzieje... W najlepszym wypadku zabarwia się tylko tło strony...
Proszę o pomoc w znalezieniu błędu w kodzie:
CSS
html, body{ margin:0; padding:0; text-align:center; } #pagewidth{ width:1000px; text-align:left; margin:0 auto; } #header{ position:relative; height:195px; background-color:#904966; width:100%<img src='http://forum.pcfoster.pl/public/style_emoticons/<#EMO_DIR#>/disagree.png' class='bbc_emoticon' alt=';' /> display:block; overflow:auto; } #menu{ width:100px; float:left; position:relative; background-color:#538603; } #glowna{ background-color: #90B9B9; position: relative; width:900px; float:right; } #footer{ height:50px; background-color:#F3E6DF; clear:both; display:block; overflow:auto; } .clearfix:after { content: "."<img src='http://forum.pcfoster.pl/public/style_emoticons/<#EMO_DIR#>/disagree.png' class='bbc_emoticon' alt=';' /> display: block; height: 0; clear: both; visibility: hidden; } .clearfix{display: inline-block;} /* Hides from IE-mac \*/ * html .clearfix{height: 1%<img src='http://forum.pcfoster.pl/public/style_emoticons/<#EMO_DIR#>/disagree.png' class='bbc_emoticon' alt=';' />} .clearfix{display: block;} /* End hide from IE-mac */ @media print{ /*hide the left column when printing*/ #leftcol{display:none;} #twocols, #maincol{width:100%<img src='http://forum.pcfoster.pl/public/style_emoticons/<#EMO_DIR#>/disagree.png' class='bbc_emoticon' alt=';' /> float:none;} }
PLIK INDEX.PHP
<?php defined('_JEXEC') or die; $app = JFactory::getApplication()<img src='http://forum.pcfoster.pl/public/style_emoticons/<#EMO_DIR#>/disagree.png' class='bbc_emoticon' alt=';' /> ?> <!DOCTYPE HTML> <html> <head> <jdoc:include type="head" /> <link rel="stylesheet" href="templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="templates/system/css/general.css" type="text/css" /> <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> <div id="header"> </div> </head> <body> <div id="menu"> <jdoc:include type="modules" name="menu" style="xhtml" /> </div> <div id="glowna"> <jdoc:include type="message" name="glowna" style="xhtml" /> <jdoc:include type="component" name="component" style="xhtml" /> </div> <div id="footer"> <jdoc:include type="footer" name="footer" style="xhtml" /> </div> </body> </html>
PLIK .XML
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd"> <extension version="2.5" type="template" client="site"> <name>NAZWA SZABLONU</name> <creationDate>2013</creationDate> <author>WEBROAD.PL</author> <authorEmail>kontakt@webroad.pl</authorEmail> <authorUrl>http://webroad.pl</authorUrl> <copyright>Copyright (C) webroad.pl.</copyright> <license>GPL</license> <version>1.0.0</version> <description>Szablon startowy dla Joomla! 2.5 przygotowany przez WEBroad.pl</description> <files> <folder>css</folder> <folder>html</folder> <folder>images</folder> <filename>index.htm</filename> <filename>index.php</filename> <filename>templateDetails.xml</filename> <filename>favicon.ico</filename> </files> <positions> <position>header</position> <position>menu</position> <position>glowna</position> <position>component</position> <position>footer</position> </positions> </extension>
PLIK INDEX.HTML
<!DOCTYPE HTML>
Z góry dziękuję i pozdrawiam!