Meta Description doesnt appear in page?

Discussion in 'TemplateCodes' started by sitewonders, Jul 6, 2009.

  1. sitewonders Customer

    Hi all.

    <meta name="Description" content="" />

    Is as displayed in my homepage source code, however I DO have a meta description input in the admin area.

    Any ideas?

    Thanks

    Gary
  2. bowers01 Genius At Work

    In layout.tpl find <meta name="Description" and post the rest of the code for us.
    Cheers,
    Nick
  3. sitewonders Customer

    <title>{$sitetitle}</title>
    <meta name="Keywords" content="{$sitekeywords}" />
    <meta name="Description" content="" />
    {if $smarty.server.SERVER_PORT == '443'}
    <base href="{$smarty.const.URLS}/" />
    {else}
    <base href="{$smarty.const.URL}/" />
    {/if}

    <link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/style.css" type="text/css" />
    <!--[if IE]>
    <link rel="stylesheet" href="templates/{$smarty.const.MAIN_TEMPLATE}/css/ie.css" type="text/css" />
    <![endif]-->

    <script type="text/javascript" src="modules/templatecodes/scripts/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="javascript/main.js"></script>
    <script type="text/javascript" src="modules/templatecodes/scripts/jquery.cookie.js"></script>
    <script type="text/javascript" src="modules/templatecodes/scripts/layout.js"></script>

    {$header}
    {modulehook function="tpl_layout_head" options=""}
    </head>
  4. sitewonders Customer

    Looks to be missing an include to pull the desc from the admin area?
  5. John Snyder Staff

    Not sure how that didn't make it into the template, you can replace that line in layout with the following:

    HTML:
    <meta name="Description" content="{$sitedescription}" />
    I'll be sure this bug gets fixed for next update. Thanks for bringing this to our attention.
  6. sitewonders Customer

    ok thanks.

Share This Page