| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
BCSE Static Page mod & Product Metatags Plus code confusion | |||
|
|
Thread Tools |
#1
|
|||||||||
|
|||||||||
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... |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: BCSE Static Page mod & Product Metatags Plus code confusion
How about this as an alternative install instructions.
Find Code:
BEFORE add: Code:
Find: Code:
BEFORE add Code:
AFTER add Code:
That should work. Hope that helps! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: BCSE Static Page mod & Product Metatags Plus code confusion
Hi Carrie, I have just added the code you instructed. How can I check that the static page mod and the category mod are installed correctly? If I see the source code on those related pages I don't see the difference... Sorry for such a n00b question, I am just not a coder Thanks for helping me out!
__________________
____________________________ 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... |
|||||||||
|
|||
X-Cart forums © 2001-2020
|