Title Tags displaying incorrectly
Hi,
I am having a few issues with the way the Title tags are displaying for certain pages.
The only pages that aren't affected are the home page and the individual product pages.
At least one adjustment was made to skin1/customer/home.tpl as follows (this may be causing the problem) - in red:
{* $Id: home.tpl,v 1.88.2.10 2007/06/18 12:38:57 max Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html>
<head>
<title>{strip}
{capture name=title}
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{if not %position.first%} :: {/if}
{$location[position].0|strip_tags|escape}
{/section}
{else}
{section name=position loop=$location step=-1}
{if not %position.first%} :: {/if}
{$location[position].0|strip_tags|escape}
{/section}
{/if}
{/capture}
{assign var=mytitle value=$smarty.capture.title|replace:"Company Name":"Company Name : Pure - Natural - Organic Skin Care"}
{if $config.SEO.page_title_limit <= 0}
{$mytitle}
{else}
{$mytitle|replace:" ":" "|truncate:$config.SEO.page_title_limit|replac e:" ":" "}
{/if}
{/strip}</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
{literal}
<!--[if IE 7]>
<style type="text/css" media="screen">
#content .colC .inner { width:90%; margin-left:auto; margin-right:auto; }
#sidebar-2 div.module-bdr form {padding-tops:5px}
</style>
<![endif]-->
<!--[if IE 6]>
<style type="text/css" media="screen">
#content .colC .inner { width:90%; margin-left:auto; margin-right:auto; }
#user2 div, #user2 p#pathway_text {clear:both; text-align:right;}
#footer div {clear:both; margin-left:auto; margin-right:auto;}
#user2 ul#mainlevel-top { margin-left:auto;}
</style>
<![endif]-->
<style type="text/css" media="screen">
</style>
{/literal}<link rel="stylesheet" href="{$SkinDir}/tabs2/tabs.css">
<!--[if IE 7]><link rel="stylesheet" href="{$SkinDir}/tabs2/tabs_ie7.css"><![endif]-->
</head>
{if #ShowHorCategories# eq "Y" && $main ne "fast_lane_checkout"}
{if $body_onload eq ""}
{assign var="body_onload" value=" hcCheckCategories(); window.onresize = hcCheckCategories;"}
{else}
{assign var="body_onload" value="`$body_onload` hcCheckCategories(); window.onresize = hcCheckCategories;"}
{/if}
{/if}
<body{$reading_direction_tag}>
{* include file="customer/head.tpl" *}
<div id="page">
<!-- page -->
<div class="inside">
{include file="customer/header.tpl"}
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}
<!-- main area -->
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="VertMenuLeftColumn">
{ include file="customer/search.tpl"}
{assign var="menu_position" value="left"}
{if $categories ne "" and $active_modules.Fancy_Categories ne ""}
{include file="customer/categories.tpl" }
{/if}
{include file="customer/categories.tpl" }
{*{include file="customer/main/live_help.tpl"}*}
{if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"}
{include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu eq "Y"}
{include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{include file="customer/special.tpl"}
{if $active_modules.Survey && $menu_surveys}
{foreach from=$menu_surveys item=menu_survey}
{include file="modules/Survey/menu_survey.tpl"}
{/foreach}
{/if}
{include file="help.tpl" }
{include file="customer/main/menu_end.tpl"}
<br />
<img src="{$ImagesDir}/spacer.gif" width="161" height="1" alt="" />
</td>
<td valign="top" width="100%" class="MainArea">
<br />
<!-- central space -->
{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}
{include file="dialog_message.tpl"}
{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}
<!-- /central space -->
</td>
{assign var="menu_position" value="right"}
<td class="VertMenuRightColumn" id="sidebar-2">
<br />
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}
<span class="PrintableRow">
{include file="printable.tpl"}
</span><br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
{if $active_modules.Users_online ne ""}
{include file="modules/Users_online/menu_users_online.tpl" }
{/if}
{include file="customer/menu_cart.tpl" }
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
{include file="news.tpl" }
{if $active_modules.XAffiliate ne "" && $config.XAffiliate.partner_register eq 'Y'}
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{include file="poweredby.tpl" }
{include file="customer/main/menu_end.tpl"}
<br />
<img src="{$ImagesDir}/spacer.gif" width="161" height="1" alt="" />
</td>
</tr>
</table>
{* include file="rectangle_bottom.tpl" *}
{include file="customer/footer.tpl"}
<!-- end inside -->
</div>
<!-- end page -->
</div>
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}
______________________________
Could someone please advise on how to correct this issue?
thanks!
__________________
pws
X-Cart version 4.1.8
|