PDA

Zobacz pełną wersję : Gdzie wstawić meta tagi



robertone
08-11-2008, 20:39
Witam
tak wygląda sekcja head w pliku index.php w moim szablonie.

<head>
<jdoc:include type="head" />
<?php JHTML::_('behavior.mootools'); ?>

<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->baseurl(); ?>templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/editor.css" type="text/css" />

<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/highslide/highslide.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/typo.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/ja.news.css" type="text/css" />
<link href="<?php echo $tmpTools->templateurl(); ?>/mootabs/mootabs1.2.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/js/ja.script.js">***********

<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/highslide/swfobject.js">***********
<script language="javascript" type="text/javascript" src="<?php echo $tmpTools->templateurl(); ?>/highslide/highslide-full.js">***********


<!-- Menu head -->
<?php $jamenu->genMenuHead(); ?>

<link href="<?php echo $tmpTools->templateurl(); ?>/css/colors/theme<?php echo $tmpTools->getThemeForSection(); ?>.css" rel="stylesheet" type="text/css" />


<!--[if lte IE 6]>
<style type="text/css">
.clearfix {height: 1%;}
img {border: none;}
</style>
<![endif]-->

<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {display: inline-block;}
</style>
<![endif]-->

<?php if ($tmpTools->isIE6()) { ?>
<!--[if lte IE 6]>
<script type="text/javascript">
var siteurl = '<?php echo $tmpTools->baseurl();?>';
***********
<![endif]-->
<?php } ?>

<script type="text/javascript">
hs.graphicsDir = '<?php echo $tmpTools->templateurl(); ?>/highslide/graphics/';
hs.showCredits = true; // you can set this to false if you want
hs.creditsText = 'Powered by JA Highslide';
hs.creditsHref = 'http://joomlart.com/';
hs.creditsTitle ='Go to the Highslide JA homepage';
***********

</head>
Teraz mam pytanie gdzie wstawić te poniższe meta?:

<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
<title></title>

PeFik
08-11-2008, 23:37
one same sie wstawiaja:

<jdoc:include type="head" />

robertone
09-11-2008, 20:04
A jak chce to obejść, to mam to usunać ten include i w tym niejscu wtawić normalne meta?

zwiastun
09-11-2008, 21:50
A jak chcesz to obejść to sobie popatrz, co masz wczytywane, a potem sobie rób jak chcesz

wojtekkk87
11-11-2008, 23:52
ale to nie ma sensu ;] chociażby ze względu na indeksowanie strony przez google ;|