Support Forums

Meta Description doesnt appear in page?

This is a discussion on Meta Description doesnt appear in page? within the TemplateCodes forums, part of the Third Party Support category; Hi all. <meta name="Description" content="" /> Is as displayed in my homepage source code, however I DO have a meta ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 07-06-2009, 09:55 AM   #1
Senior Member
 
Join Date: Jun 2009
Posts: 159
Rep Power: 13
sitewonders is on a distinguished road
Default Meta Description doesnt appear in page?

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
__________________
v4.1.3 Designer - Nustyle 3 Ocean
sitewonders is offline   Reply With Quote
Old 07-06-2009, 10:09 AM   #2
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 35
bowers01 is on a distinguished road
Default

Quote:
Originally Posted by sitewonders
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
In layout.tpl find <meta name="Description" and post the rest of the code for us.
Cheers,
Nick
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 07-06-2009, 10:14 AM   #3
Senior Member
 
Join Date: Jun 2009
Posts: 159
Rep Power: 13
sitewonders is on a distinguished road
Default

<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>
__________________
v4.1.3 Designer - Nustyle 3 Ocean

Last edited by Mike-N-Tosh; 07-06-2009 at 10:29 AM. Reason: Edited by Mike-N-Tosh. Please DO NOT POST COMPLETE PROPRIETARY 3RD PARTY CODE!!!
sitewonders is offline   Reply With Quote
Old 07-06-2009, 10:14 AM   #4
Senior Member
 
Join Date: Jun 2009
Posts: 159
Rep Power: 13
sitewonders is on a distinguished road
Default

Looks to be missing an include to pull the desc from the admin area?
__________________
v4.1.3 Designer - Nustyle 3 Ocean
sitewonders is offline   Reply With Quote
Old 07-06-2009, 12:32 PM   #5
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,149
Rep Power: 68
John Snyder is a jewel in the rough
Default

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

HTML Code:
<meta name="Description" content="{$sitedescription}" />
I'll be sure this bug gets fixed for next update. Thanks for bringing this to our attention.
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 07-06-2009, 12:38 PM   #6
Senior Member
 
Join Date: Jun 2009
Posts: 159
Rep Power: 13
sitewonders is on a distinguished road
Default

ok thanks.
__________________
v4.1.3 Designer - Nustyle 3 Ocean
sitewonders is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change meta description for extra pages bowers01 Technical Support 6 10-27-2008 04:43 AM
Meta Description for Category Nudge Technical Support 2 03-02-2008 07:54 PM


All times are GMT -4. The time now is 08:47 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0