Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

HELP on installed meta tag mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 11-25-2004, 05:51 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

CC.

Yes it will work in 4.0.x too. I have that in the zip file for 4.0.x and installed it on 2 clients sites this week with 4.0.x.

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!
Reply With Quote
  #22  
Old 11-26-2004, 12:16 AM
  CC's Avatar 
CC CC is offline
 

eXpert
  
Join Date: Jun 2004
Posts: 349
 

Default

Lovely.

I notice on your site it now says for 4.x
I placed an order yesterday for a couple of bits including this, just waiting for you to process now.
__________________
XC 4.2 inc (unofficial) patch release.
Reply With Quote
  #23  
Old 11-26-2004, 01:49 AM
 
belservice belservice is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 38
 

Default It feel so good to be back

Yes BSCE thanks for the last meta.tpl file. That was the rigt way to do it. I would recomend everybody to go to the site and download this mod.

The only last thing i've found is at the category pages. There i still got double meta keyword tag. The product pages is fixed. BCSE thanks again. If you could look at the categories meta tags i would be verry glad. And about a little donation; if this mod work how it should be i will donate a $25 dollar fee. Hope it's ok? In januari. (happy new beginning "g")

Thanks for all you're reply.
__________________
www.belservice.nl
Linkexchange with two websites go to http://www.belservice.com/partners/ and add link.
x-cart: 3.5.8
Reply With Quote
  #24  
Old 11-26-2004, 07:01 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,063
 

Default

Glad it's working now. I've not had anyone have any troubles that I know of, of having double meta tags with this mod on product pages. I'm guessing your cart has been modified to include category meta tags on the product pages and that was causing the conflict. I'll change the code for my free mod though just incase someone else has done this too.

Code:
{* $Id: meta.tpl,v 1.13.2.2 2004/05/20 08:25:04 mclap Exp $ *} <meta http-equiv="Content-Type" content="text/html; charset={$default_charset|default:"iso-8859-1"}"> {* BCSE Begin *} {if $product.fulldescr ne ""} <meta name="description" content="{$product.fulldescr|strip_tags:true|strip|truncate:150}"> {elseif $product.descr ne ""} <meta name="description" content="{$product.descr|strip_tags:true|strip|truncate:150}"> {else} {* BCSE End *} <meta name="description" content="Bij belservice.nl goedkoop alle gsm en vaste telefoon toestellen. Alle merken van Nokia, sonyericsson, siemens, samsung tot sagem en sendo. Tevens vindt u bij belservice.nl alle accesoires voor uw gsm. Bluetooth headsets, frontjes en laders. Uiteraard altijd laag geprijst. Bedrijven kunnen ook terecht bij belservice.nl. Wij hebben vele isdn centrales, isdn en dect telefoon toestellen en alles wat u nodig heeft voor uw bedrijfs communicatie. Zakelijke klanten krijgen altijd extra korting. In ons assortiment vindt u siemens gigaset, tiptel en vele andere merken."> {/if} {* BCSE added *} {* BCSE Begin *} {if $product_meta_keywords ne ""} <meta name="keywords" content="{$product_meta_keywords}"> {else} {* BCSE End *} {if $current_category.meta_tags ne "" and $product_meta_keywords eq ""} {* NOTE I added this AND for you *} <meta name="keywords" content="{$current_category.meta_tags}"> {else} <meta name="keywords" content="gratis GSM mobieltje, gsm accessoires, gsm aanbiedingen, cashback abonnement, abonnement afsluiten, headsets, bluetooth, carkits, frontjes, datakabels, nokia, samsung, motorola, siemens, sonyericsson, panasonic, kpn, orange, hi, telfort, debitel, vodafone, t-mobile, dect, isdn adsl, telecom advies"> {/if} {/if} {* BCSE added *} {if $usertype eq "P" or $usertype eq "A"} <meta name="ROBOTS" content="INDEX"> <meta name="ROBOTS" content="FOLLOW"> {/if} {if $webmaster_mode eq "editor"} {if ($usertype eq "P" or $usertype eq "A") and $current_language ne ""} <script>var store_language = "{$current_language}"</script> {else} <script>var store_language = "{$store_language}"</script> {/if} <script> var catalogs = new Object(); catalogs.admin = "{$catalogs.admin}"; catalogs.provider = "{$catalogs.provider}"; catalogs.customer = "{$catalogs.customer}"; catalogs.partner = "{$catalogs.partner}"; catalogs.images = "{$ImagesDir}"; catalogs.skin = "{$SkinDir}"; </script> {if $user_agent eq "ns"} <script src="{$SkinDir}/editorns.js"></script> {else} <script src="{$SkinDir}/editor.js"></script> {/if} {/if}

Just moving some things around and putting an else in there. Try that.

Thank you, I accept and appreciate donations for those who like my free mods or help but I don't expect them.

Glad we could get you all figured out!

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!
Reply With Quote
  #25  
Old 11-26-2004, 10:09 AM
 
belservice belservice is offline
 

Advanced Member
  
Join Date: Jul 2004
Posts: 38
 

Default Yes this is it.

Yeah this is it! It works fine now. Thank you verry much. Let see now what's going to happen with goooogle now.
__________________
www.belservice.nl
Linkexchange with two websites go to http://www.belservice.com/partners/ and add link.
x-cart: 3.5.8
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:08 PM.

   

 
X-Cart forums © 2001-2020