Gdzie wstawić meta tagi
Wyniki 1 do 5 z 5

Temat: Gdzie wstawić meta tagi

  1. #1
    Przeglądacz
    Dołączył
    05-08-2008
    Skąd
    na płd Polski
    Wpisy
    35
    Punkty
    10

    Domyślny Gdzie wstawić meta tagi

    Witam
    tak wygląda sekcja head w pliku index.php w moim szablonie.
    Kod:
    <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?:
    Kod:
    <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>

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #2
    Senior PeFik awatar
    Dołączył
    18-02-2007
    Skąd
    Miasto Stu Mostów
    Wpisy
    5 465
    Punkty
    241

    Domyślny

    one same sie wstawiaja:

    <jdoc:include type="head" />
    Współautor bloga o systemie Joomla! -> blog.elimu.pl < oraz kilku książek i artykułów o tym CMS.

  4. #3
    Przeglądacz
    Dołączył
    05-08-2008
    Skąd
    na płd Polski
    Wpisy
    35
    Punkty
    10

    Domyślny

    A jak chce to obejść, to mam to usunać ten include i w tym niejscu wtawić normalne meta?

  5. #4
    Senior zwiastun awatar
    Dołączył
    20-09-2005
    Wpisy
    27 315
    Punkty
    1142

    Domyślny

    A jak chcesz to obejść to sobie popatrz, co masz wczytywane, a potem sobie rób jak chcesz
    Korzystaj i ciesz się!
    ===============
    Zwiastun
    Biblioteka Elektronicznej Dokumentacji Joomla!

  6. #5

    Domyślny

    ale to nie ma sensu ;] chociażby ze względu na indeksowanie strony przez google ;|
    ================
    Kurs pisania komponentów dla Joomla 1.5 - www.wromanek.info
    Czekam na opinie i sugestie.

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •