PDA

Zobacz pełną wersję : Problem z title i home



Robert3d
12-04-2010, 16:41
Witam mam problem otóż mam serwer na home.pl na webd działało poprawnie ale był to serwer zbyt wolny.
Otóż mój problem polega na tym że <title> z działu <head> wyświetla mi się na stronie... Jak temu zaradzić oto kod z przeglądarki.




<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="joomla, pcj1x5yz2" />
<meta name="description" content="Joomla! - dynamiczny system portalowy i system zarządzania treścią" />
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
<title>Cos tam</title>
<link href="/index.php?format=feed&amp;type=rss (http://forum.joomla.pl/view-source:http://juniorshop.pl/index.php?format=feed&type=rss)" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
<link href="/index.php?format=feed&amp;type=atom (http://forum.joomla.pl/view-source:http://juniorshop.pl/index.php?format=feed&type=atom)" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
<link href="/templates/hop/favicon.ico (http://forum.joomla.pl/view-source:http://juniorshop.pl/templates/JuniorShop/favicon.ico)" rel="shortcut icon" type="image/x-icon" />
<script type="text/javascript" src="/media/system/js/mootools.js (http://forum.joomla.pl/view-source:http://juniorshop.pl/media/system/js/mootools.js)"></script>
<script type="text/javascript" src="/media/system/js/caption.js (http://forum.joomla.pl/view-source:http://juniorshop.pl/media/system/js/caption.js)"></script>

<link rel="stylesheet" href="/templates/system/css/system.css (http://forum.joomla.pl/view-source:http://juniorshop.pl/templates/system/css/system.css)" type="text/css" />
<link rel="stylesheet" href="/templates/system/css/general.css (http://forum.joomla.pl/view-source:http://juniorshop.pl/templates/system/css/general.css)" type="text/css" />
<link rel="stylesheet" href="/templates/hop/css/style.css (http://forum.joomla.pl/view-source:http://juniorshop.pl/templates/JuniorShop/css/style.css)" type="text/css" />
<link rel="stylesheet" href="/templates/hop/css/moduly.css (http://forum.joomla.pl/view-source:http://juniorshop.pl/templates/JuniorShop/css/moduly.css)" type="text/css" />

</head>
A tak wygląda ten pisany przeze mnie a w sumie przyklejony...



<?php
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!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 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" />
<link rel="stylesheet" href="<?php echo $this->baseurl ;?>/templates/<?php echo $this->template ;?>/css/moduly.css" type="text/css" />

</head>

Robster
12-04-2010, 16:53
To nie wina <head> ani kodu, tylko tego że nie wyłączyłeś opcji wyświetlania tytułu strony w zapleczu.

Robert3d
12-04-2010, 23:08
thx aż mi teraz głupio :|