PDA

Zobacz pełną wersję : błąd w szablonie



rastaman697
13-06-2014, 19:57
Witam otóż gdy dodaje moduł menu po zainstalowaniu własnego szablonu pokazuje mi białą stronę zamieszczam plik php i css co zrobić żeby to było dobrze ?
<?php// dostęp bezpośredni jest niedozwolonydefined('_JEXEC') or die;
// Ladowanie biblioteki MooTools Core i MooTools More (potrzebne!)JHtml::_('behavior.framework', true);
$app = JFactory::getApplication();?>
<!DOCTYPE html><head lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<jdoc:include type="head" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /><link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/style.css" type="text/css" />
<script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/js/wlasny_skrypt.js"></script><script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</head> <body> <div id="glowka"></div> <div id="menu"><jdoc:include type="modules" name="menu" /></div> <div id="cialo"></div>
<div id="duze_menu"> <img id="am"src="images/grafik.jpg"/> <img id="am" src="images/news.jpg"/> <img id="am" src="images/zajeciamod.jpg"/> </div>
<div id="stopka"><jdoc:include type="modules" name="stopka" style="xhtml" /></div> </body></html>
i css

body { background-image:url("../images/tlo.png");}
#glowka{ background-image:url("../images/logo.png"); width:348px; height:70px; float:clear; padding-top:0px; margin-left:auto; margin-right:auto;}
/*#menu{ font-family:fitness; font-size:19px; text-align:center; padding-top:0px; height:3%; background-color:#E000DD; width:100%; text-decoration: none; color:white;}*/
#cialo{background-image:url("../images/index.jpg");margin-left:auto;margin-right:auto;height:409px;width:957px;}
#duze_menu{text-align:center;width:957px;margin-left:auto;margin-right:auto;padding-top:10px;
}#am{padding-right:10px;}

@font-face{font-family:fitness;src: url(../fonts/ewa.otf)}
#menutop ul {padding: 0;}#menutop li {list-style-type: none; margin: 0 auto; float: left; position: relative;}#menutop ul li ul li {background: transparent !important;height: 40px;border-bottom: 1px solid #ddd !important;width: 160px;}#menutop li a {display: block; text-decoration: none;line-height: 35px;} #menutop li a:hover {color: #000000;}#menutop li li a {padding: 5px !important;} #menutop li ul {display: none; background: #E000DD;border: 1px solid #ddd !important;} #menutop li:hover ul {position: absolute; padding: 0; display: block; width: 160px;top:35px;left:0px;} #menutop ul li ul li a {line-height: 30px;font-size: 14px !important;display:block !important;}#menutop ul ul ul {display: none !important;position: absolute;width:160px;}#menutop ul li ul li.deeper.parent ul {}#menutop ul li.deeper.parent:hover {background: #ddd;}#menutop ul li ul li.deeper.parent:hover ul {display:block !important; top: 0px; left: 160px; border-top: 1px solid #E000DD;}

trzepiz
13-06-2014, 23:46
Włącz sobie na zapleczu w konfiguracji globalnej raportowanie błędów na maximum i zobacz, czy na "białej stronie" będziesz miał wyświetlony błąd.