View Single Post
  #1  
Old 10-01-2007, 01:45 PM
  WhiteDoveGifts's Avatar 
WhiteDoveGifts WhiteDoveGifts is offline
 

X-Adept
  
Join Date: Oct 2006
Location: Maarssen, The Netherlands
Posts: 474
 

Default BCSE Static Page mod & Product Metatags Plus code confusion

I am trying to install the static page metatag mod after the product metatag plus mod but the last step causes confusion with me.

In the last step you need to:

6. In skin1/meta.tpl, replace:

<meta name="description" content="{$_meta_descr|truncate:"500":"...":false| escape}" />
<meta name="keywords" content="{$_meta_keywords|truncate:"500":"":false| escape}" />

With:
{* BCSE Begin *}
{if $page_data.metadescr}
<meta name="description" content="{$page_data.metadescr|escape}" />
{else}
{* BCSE End *}
<meta name="description" content="{$_meta_descr|truncate:"500":"...":false| escape}" />
{* BCSE Begin *}
{/if}
{if $page_data.metakeywords}
<meta name="keywords" content="{$page_data.metakeywords|escape}" />
{else}
{* BCSE End *}
<meta name="keywords" content="{$_meta_keywords|truncate:"500":"":false| escape}" />
{/if} {* BCSE added *}

This is the current code in my meta.tpl:

<meta name="description" content="{$_meta_descr|truncate:"500":"...":false| escape}" />
{* BCSE Begin *}
{/if}
{if $product_meta_keywords ne ""}
<meta name="keywords" content="{$product_meta_keywords|escape}" />
{else}
{* BCSE End *}
<meta name="keywords" content="{$_meta_keywords|truncate:"500":"":false| escape}" />
{/if} {* BCSE added *}
{/if}

Now where do I need to add the code for the static page mod to work correctly?

Any help would be great
__________________
____________________________
X-Cart Gold 4.1.10

EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here...
Reply With Quote