| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Top browser bar above the URL Question | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Top browser bar above the URL Question
Ok, i have been scratching around and around for the answer to this question but can find it nowhere.
What i am trying to acheive in the top browser bar above the URL is to change the text it displays somewhat to make it a little search engine friendly. Many companys do it and replace there company name with the products they sell. The only way i have found of doing it was to put the details into the x-cart admin - general settings - company options - company name. The only problem with this is it messes up the invoices and other x-cart links. Is there another way to edit the top browser bar ! Please help Richard |
|||||||||
#2
|
|||||||
|
|||||||
Re: Top browser bar above the URL Question
Top browser bar? You mean where the <title> tag is displayed?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Top browser bar above the URL Question
Hi
Yes sorry the title tag as it plays a vital part of any page. I am assuming it may have something to do with the skin1/customer/home.tpl but a little unsure. I do have the DESFU mod but this does not address this area. If you can help in what code needs to be put where it would help a lot. Thanks Richard |
|||||||||
#4
|
|||||||
|
|||||||
Re: Top browser bar above the URL Question
You would simply need to change the <title> tag in customer/home.tpl. You can use {if} statements to display different text depending on where the customer is on the site. FYI, you can easily change the title display order in General Settings/SEO options so the product shows first.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Top browser bar above the URL Question
Thanks for the quick reply
I have played around with the seo settings but that does not really address what i am after. For instance if i wanted to put ' this is a great site designed by me' into the title tag for every page the only way i know wouold be to add it to the company options - company name, but this messes with the breadcrumbs and the invoice. If i was to use this text as an example and not being to hot with the {if} statements is it a large script change. My home.tpl <title> looks like this <title> {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {else} {section name=position loop=$location step=-1} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {/if} </title> Thanks again Richard |
|||||||||
#6
|
|||||||
|
|||||||
Re: Top browser bar above the URL Question
Adding the text to the <title> tags doesn't mess with the breadcrumbs so just add it to the <title> tag code itself:
<title>this is a great site designed by me - {if $config.SEO.page_title_format eq "A"} {section name=position loop=$location} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {else} {section name=position loop=$location step=-1} {$location[position].0|strip_tags|escape} {if not %position.last%} :: {/if} {/section} {/if} </title>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Top browser bar above the URL Question
Thanks so very much for your help. Quite why this is not built into some of the SEO mods is a complete mistery to me.. but hey there you go.
Thanks again Richard |
|||||||||
#8
|
|||||||||
|
|||||||||
Re: Top browser bar above the URL Question
Ah just one other thing, as i would no longer need the SEO title display as you mentioned earlier to show up, what bit do i remove <!-- ?? -->
|
|||||||||
#9
|
|||||||
|
|||||||
Re: Top browser bar above the URL Question
A more elegant and totally custom (on a per-product basis) solution is available from BCSE
Product Meta Tags Plus!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#10
|
|||||||||
|
|||||||||
Re: Top browser bar above the URL Question
Ah thanks i will take a look
Thanks for that Richard |
|||||||||
|
|||
X-Cart forums © 2001-2020
|