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

3.5.12 - How To Put Product Name in <TITLE>

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-15-2005, 12:07 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default 3.5.12 - How To Put Product Name in <TITLE>

I am sure this has been discussed in here 1001 times but I swear the search function can't find it.

I want to show the Product Name in the title bar of the browser window.

What do I need to change to make that work?

I know all of the 4+'s do it, but since it is not stable I am scared to upgrade. I plan on going live in a week or so.

Any tips?
Reply With Quote
  #2  
Old 02-15-2005, 12:19 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That should be in there by default...have you made any changes to home.tpl?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-15-2005, 12:35 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default

No I haven't yet. Is there a setting somewhere in that version that turns that on and off. I see it change for Home, Contact Us, Checkout, etc, but not product names.

Check it out: http://gospelvideoexpress.com/xstore/customer/

I haven't removed the X-cart stuff off the bar yet.
__________________
X-Cart Gold 4.0.12
X-AOM
Color Coded Order Status
Easy CheckOut
ezUpsell
Multiple Upselling Links
Order Management Made Easy
Reply With Quote
  #4  
Old 02-15-2005, 12:59 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default

One more thing, I notice it working on your Dali website. I would want to reverse the order, Product Title - Comapny Name

(I like your work by the way!!!!)
__________________
X-Cart Gold 4.0.12
X-AOM
Color Coded Order Status
Easy CheckOut
ezUpsell
Multiple Upselling Links
Order Management Made Easy
Reply With Quote
  #5  
Old 02-15-2005, 01:10 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Thanks for the compliment!

Here's what your title tag should look like in skin1/customer/home.tpl:

Code:
<title>{$lng.txt_site_title} {if $main eq "catalog"} {if $location eq ""} {$lng.txt_subtitle_home} {else} {strip} {section name=position loop=$location start=0 } {if %position.last% eq "true"} - {$location[position].0|escape}{/if} {/section} {/strip} {/if} {elseif $main eq "product"} {if $product.product ne ''} - {$product.product}{/if} {elseif $main eq "help"} {$lng.txt_subtitle_help} {elseif $main eq "cart"} {$lng.txt_subtitle_cart} {elseif $main eq "checkout"} {$lng.txt_subtitle_checkout} {elseif $main eq "order_message"} {$lng.txt_subtitle_thankyou} {elseif $main eq "wishlist"} {$lng.txt_subtitle_wishlist} {elseif $main eq "giftcert"} {$lng.txt_subtitle_giftcerts} {/if} </title>

Let me know if that does the trick....
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 02-15-2005, 01:16 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default

I think that will work, I won't be able to check it until I get to my other pc but that looks different from what I remember being in there.

I will send a status update tonight.

Can I PM you about some of the mods you've done so I know where to find them on here?
__________________
X-Cart Gold 4.0.12
X-AOM
Color Coded Order Status
Easy CheckOut
ezUpsell
Multiple Upselling Links
Order Management Made Easy
Reply With Quote
  #7  
Old 02-15-2005, 01:17 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Sure, but only if you put your X-Cart version number in your signature
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #8  
Old 02-21-2005, 01:38 PM
  Jonathan501's Avatar 
Jonathan501 Jonathan501 is offline
 

Advanced Member
  
Join Date: Nov 2004
Posts: 44
 

Default

Thanks! Worked like a charm!
__________________
X-Cart Gold 4.0.12
X-AOM
Color Coded Order Status
Easy CheckOut
ezUpsell
Multiple Upselling Links
Order Management Made Easy
Reply With Quote
  #9  
Old 02-21-2005, 09:03 PM
  BCSE's Avatar 
BCSE BCSE is offline
 

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

Default

I have a free site title tip on my site that you can "buy" for free that may also help. It's a bit different from what balinor suggested I think, if I remember right. It will put your product name First, then store name.

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
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 07:26 AM.

   

 
X-Cart forums © 2001-2020