Zobacz pełną wersję : Własny szablon
Witam chcę prznieść swoją stronę http://theds.eu na joomlę.Tworzę go na podstawie wiki.joomla.pl i książki o stylach do joomli ,zrobiłem całkiem dużo ,tylko ,że strona po zastosowaniu go nie chce się wczytywać. Dołączam szablon w załączniku i liczę ,że ktoś mi wytłumaczy co robię źle.4017
masz tak:
<?php
// no direct acces
defined( '_JEXEC' ) or die( 'Restricted acces' );
<!DOCTYPE html ....
a ma być tak:
<?php
// no direct acces
defined( '_JEXEC' ) or die( 'Restricted acces' );
?>
<!DOCTYPE ...
Pojawiła się struktura :)
Dzięki.
Mam kolejny problem:zly: tym razem nie chcą wyświetlić się obrazki z index.php
templateDetails.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE install PUBLIC "-//Joomla! 1.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.5/template-install.dtd">
<install version="1.5" type="template">
<name>theds_joomla_version</name>
<creationDate>20 05 2010</creationDate>
<author>Damian (theDS) Sowa</author>
<authorEmail>ds@theds.eu</authorEmail>
<authorUrl>http://theds.eu</authorUrl>
<copyright></copyright>
<license>none license</license>
<version>1.0.0</version>
<description>Moj them do joomla 1.5</description>
<files>
<filename>css/index.html</filename>
<filename>images/index.html</filename>
<filename>images/index.php</filename>
<filename>templateDetails.xml</filename>
</files>
<css>
<filename>css/style.css</filename>
</css>
<images>
<images>
<filename>images/logo.png</filename>
<filename>images/menu_01.png</filename>
<filename>images/menu_02.png</filename>
<filename>images/menu_03.png</filename>
<filename>images/tlo.jpg</filename>
</images>
<positions>
<position>ad</position>
<position>left2</position>
<position>right2</position>
<position>user1</position>
<position>tekst</position>
<position>foother</position>
</positions>
<params>
</params>
</install>
index.php
<?php
// no direct acces
defined( '_JEXEC' ) or die( 'Restricted acces' );
?>
<!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 href="templates/<?php echo $this->template ?>/css/template.css"
rel="stylesheet" type="text/css" media="screen" />
<!--[if lte IE 6]>
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template
?>/css/ie6_only.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div id="GORA"><a href="http://theds.eu/"><img style="width: 259px; height: 70px; position: relative; z-index: 2" src="images/logo.png" border="0" alt="logo" /><br />
<div id="LOGO"><a href="http://theds.eu/"><img src="images/logolewetlo.png" alt="glowna" border="0" /></a></div>
<div id="MENUGPRAWE"><a href="strony"><img src="images/menu_01.png" alt="serwisy" border="0" /></a>
<a href="http://forum.theds.eu/"><img src="images/menu_02.png" alt="forum" border="0" /></a>
<a href="kontakt"><img src="images/menu_03.png" alt="kontakt" border="0" /></a>
</div>
</div>
<div id="REKLAMA"><jdoc:include type="modules" name="ad" style="xhml" /></div>
<div id="MENULEWE"><jdoc:include type="modules" name="left2" style="xhml" /></div>
<div id="MENUPRAWE"><jdoc:include type="modules" name="right2" style="xhml" /></div>
<div id="OBRAZKI"><jdoc:include type="modules" name="user1" style="xhml" /></div>
<div id="TRESC"><jdoc:include type="modules" name="tekst" style="xhml" /></div>
<div id="STOPKA"><jdoc:include type="modules" name="foother" style="xhml" /></div>
</body>
palyga007
21-05-2011, 21:10
zajrzyj sobie do jakiegoś przykładowego szablonu (np beez) i zobacz w jaki sposób wstawia się obrazki bezpośrednio do Szablonu
Z tym wszystkim już sobie poradziłem :). Nasuwa mi się ostanie pytanie(mam nadzieję) ,cały szablon jest już gotowy tylko ,że nie chcą działać odnośnik w menu po lewej stronie(sprawdzałem na 2 komputerach na operze i firefoxie) natomiast na explorer działają.
Jakby ktoś nie zauważył adres strony to http://theds.eu
#MENULEWE {... z-index: -1}
vBulletin® v4.2.5, Prawa przedruku © 2024 vBulletin Solutions, Inc. Wszystkie prawa zastrzeżone.
Tłumaczenie: Polskie Centrum Joomla!