Guest Posted August 21, 2006 Share Posted August 21, 2006 Hey everyone I have run into a strange problem where I cannot find an answer to, or any logical reason why it is happeneing. On my oscommerce stores, the title at the top bar of my browser changes from the store name, Brand to OsCommerce on certain pages. For example, when looking at a product the broswer title reads Brand. When you click on 'my account' it changes to OsCommerce. if you want to see exactly what I am talking about, check out the store I am also running multiple stores, and my clients have stated they want this problem changed, and I can't find ANY way to fix it. So anyone willing and able to help me fix this problem I will happily reward them with a free shirt shipped to them. Link to comment Share on other sites More sharing options...
spax Posted August 21, 2006 Share Posted August 21, 2006 It does actually say osCommerce on all the pages. However, you or someone, has hardcoded another <title> above the <head> of all the pages, except login.php, like so: <title>Brand Apparel</title><!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>osCommerce</title> <base href="http://brand-clothing.com/apparel/"> <link rel="stylesheet" type="text/css" href="stylesheet.css"> </head> You need to remove that extra <title> and name the store to Brand Apparel from the admin/configuration Or you once you have removed it, you could install Header Tag Controller which will give what <title> you want per page, plus some meta tag keywords and descriptions. Link to comment Share on other sites More sharing options...
optikal Posted August 21, 2006 Share Posted August 21, 2006 Have you configured your store name in the osCommerce Admin control panel (/catalog/admin/)? Under, Configuration -> My Store -> Store Name, it is set to osCommerce by default. Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 21, 2006 Share Posted August 21, 2006 I'm pretty sure that you are on a pre-Nov12 install and that your title is set to "osCommerce" in catalog/includes/languages/english.php, probably line 48 // page title define('TITLE', 'osCommerce'); I agree though that you need to remove that hardcoded title <title>Brand Apparel</title> it's definitely in the wrong spot at the very beginning of your file - and you will no longer need it anyway as soon as you have changed the language file. // page titledefine('TITLE', 'osCommerce'); :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2006 Share Posted August 22, 2006 You need to change you oscommerce titles to what u want change catalog/includes/languages/english.php or what ever language you are using also change the name in admin No reward needed thanks anyway Kind Regards PC Giant Have you configured your store name in the osCommerce Admin control panel (/catalog/admin/)? Under, Configuration -> My Store -> Store Name, it is set to osCommerce by default. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.