PDA

Zobacz pełną wersję : Ciecie designu do joomli



tom3k
25-01-2007, 21:13
Witam,

Znalazłem fajny poradnik do joomli nt. ciecia szablonow.
http://forumweb.e-vip.pl/viewtopic.php?t=22422
Sprobowalme pociac i cos nie wyszlo. Mam jednak problem z tym cięciem... W templateDetails.xml powpisywałem wszystko co trzeba, w index.php pomiędzy <body> a </body> wkleiłem mój layout pocięty do (x)htmla. Wrzuciłem .jpegi na serwer oraz arkusz styli. Jednak strona nie działa. www.tom.dlk.pl/j/index.php
Joomla nie czyta tej skórki

Co robię zle?

Viking
26-01-2007, 00:07
Not Found


The requested URL /j/templates/news/img/logo.jpg was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at tom.dlk.pl Port 80 itp., itd.

tom3k
26-01-2007, 11:11
Poprawiłem z img na images. I nadal nic :/?

biesior
26-01-2007, 11:29
Nie wiem co robisz źle, ale w twoim kodzie nie ma nawet znaczników do obrazków, możesz wkleić kod pliku index.php z tego swojego template'a ?

tom3k
26-01-2007, 12:10
Jakich znaczników? Wszystko mam w css'ie.
Index.php


<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php $iso = split( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';
?>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<?php mosShowHead(); ?>
<?php
if ( $my->id ) {
initEditor();
}
?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $mosConfig_live_site; ?>/templates/<?php echo $cur_template;?>/css/template_css.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="main">
<div id="logo"></div>
<div id="menu_top"> </div>
<div id="kolumna_left">
<div id="belka_mecze"></div>
<div class="menu">
<?php mosLoadModules ( 'left' ); ?>
</div>
<div id="belka_liga"></div>
<div class="menu">
<?php mosLoadModules ( 'advert1' ); ?>

</div>
</div>
<div id="kolumna_center">
<div id="center_hr"></div>
<div class="news">
<?php mosMainBody(); ?>
</div>
<div id="center_hr2"><p class="title">Tytuł newsa</div>
<div class="news">
<?php mosMainBody(); ?>

</div>
</div>
<div id="kolumna_right">
<div id="belka_login"></div>
<div class="menu">
<?php mosLoadModules ( 'right' ); ?>

</div>
<div id="belka_mecze2"></div>
<div class="menu">
<?php mosLoadModules ( 'advert2' ); ?>

</div>
<div id="belka_newsletter"></div>
<div class="menu">
<?php mosLoadModules ( 'advert3' ); ?>

</div>
</div>
<div id="stopka"></div>
</div>
</body>


template_css.css

body {
background-image: url(images/tlo.jpg);
background-repeat: repeat-x, repeat-y;
}
div#main {
background-color: #ffffff;
width: 853px;

}
div#logo {
background-image: url(images/logo.jpg);
width: 853px;
height: 143px;
padding: 0px;
}
div#menu_top {
background-image: url(images/menu_top_tlo.jpg);
background-repeat: repeat-x;
width: 853px;
height: 55px;
}
p.menu_top {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 12px;
color: #9e1d1a;
padding-left: 10px;
padding-top: 7px;
margin: 0px;
text-align: center;
}
p.menu_szukaj {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 12px;
color: #9e1d1a;
padding-left: 10px;
padding-top: 7px;
margin: 0px;
text-align: right;
}
div#kolumna_left {
width: 158px;
float:left;
padding: 0px;
margin: 0px;
margin-top: -26px;
}
div#belka_mecze {
background-image: url(images/mecze.jpg);
width: 158px;
height: 28px;
float:left
}
div#kolumna_center {
width: 472px;
float:left;
padding-left: 34px;
padding-right: 0px;
margin-top: -4px;
}
div#kolumna_right {
width: 158px;
float:left;
padding-left: 30px;
margin-top: -26px;
}
div.menu {
width: 158px;
padding-left: 0px;
margin-left: 0px;
}
ul {
margin-left: 0px;
padding-left: 0px;
list-style-type: disc;
}
li {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 11px;
color: #232222;
padding-left: 0px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0px;
margin-left: 0px;
display: block;
}
div#belka_liga {
background-image: url(images/liga.jpg);
width: 158px;
height: 28px;
float:left;
}
div#belka_login {
background-image: url(images/login.jpg);
width: 158px;
height: 28px;
float:left;
margin-top: 2px;
}
div#center_hr{
background-image: url(images/hr.jpg);
background-repeat: repeat-x;
width: 472px;
height: 7px;
padding-left: 0px;
}
p.login {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 12px;
color: #232222;
padding-left: 2px;
padding-right: 2px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0px;
text-align: center;
}
p.login2 {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 11px;
color: #232222;
padding-left: 4px;
padding-top: 2px;
padding-bottom: 4px;
margin: 0px;
text-align: center;
}
div#belka_mecze2 {
background-image: url(images/mecze2.jpg);
width: 158px;
height: 28px;
float:left
}
div#belka_newsletter {
background-image: url(images/newsletter.jpg);
width: 158px;
height: 28px;
float:left
}
div.news {
width: 472px;
padding-left: 0px;
padding-top: 4px;
}
p.news {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 12px;
color: #232222;
padding-left: 8px;
padding-right: 8px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0px;
text-align: justify;
}
div#center_hr2{
background-image: url(images/hr2.jpg);
width: 472px;
height: 26px;
padding-left: 0px;
margin-top: 12px;
}
div#stopka {
background-image: url(images/stopka.jpg);
width: 853px;
height: 23px;
margin-top: 800px;
}
p.title {
font-family: Arial, Helvetica, Verdana, sans-serif;
font-size: 12px;
color: #232222;
padding-left: 16px;
padding-top: 2px;
padding-bottom: 2px;
margin: 0px;
text-align: left;
}

Normalnie jak to pociałem do htmla+css to wszystko jest ok. Dopiero w joomli nic się nie wyświetla :|

Viking
26-01-2007, 12:27
Not Found

The requested URL /j/templates/news/css/images/logo.jpg was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at tom.dlk.pl Port 80 Ścieżka...