worldheadja Posted July 6, 2006 Posted July 6, 2006 i'm new to php so i have no idea how to make this change the correct way. I managed to change my page title on only the home page of my shop, but when u browse to any other page the title switches back to oscommerce. Can someone tell me how to make this title change the correct way so that whatever page i browse the title stay to my shop name? thank you :thumbsup:
MoisesZaragoza Posted July 7, 2006 Posted July 7, 2006 did you made the changes in include/Header and include/Footer? or did you just added a CSS to the index.php? at the end of the day the code will be good
worldheadja Posted July 7, 2006 Author Posted July 7, 2006 The only thing i did was to make changes to my catalog/index.php <title><?php echo TITLE; ?>My Site Name</title> i though if i made the changes to index it would work. Currently it has "osCommerceMySiteName" - i was living to live with that but it changes to osCommerce when i go to another page.
spax Posted July 7, 2006 Posted July 7, 2006 You need to set the store name from Admin>Configuration>My Store>Store Name Then you can leave that code as it is <title><?php echo TITLE; ?></title> unless you want to do that to all the root level files. If you want more control, you can install the Header Tags Controller contribution.
worldheadja Posted July 7, 2006 Author Posted July 7, 2006 I did change the store name from admin panel but it still shows osCommerce. i went and double checked and my store name is there.
spax Posted July 7, 2006 Posted July 7, 2006 And on line 48ish of includes/languages/english.php do you have this: define('TITLE', STORE_NAME);
worldheadja Posted July 7, 2006 Author Posted July 7, 2006 And on line 48ish of includes/languages/english.php do you have this: define('TITLE', STORE_NAME); Thank You that took care of my prob :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.