Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Title question?


tat2nu

Recommended Posts

Posted

I am having the hardest time figuring out what file to change in order to get my title to show up properly in the browser. Believe me I feel a bit dumb for asking because I am sure it is right under my nose but I am lost and it is after 1 in the morning and I can not search any more.

 

Thanks,

Marc

Posted
I am having the hardest time figuring out what file to change in order to get my title to show up properly in the browser. Believe me I feel a bit dumb for asking because I am sure it is right under my nose but I am lost and it is after 1 in the morning and I can not search any more.

 

Thanks,

Marc

 

 

well, "title to show up properly in the browser" is a little vague for me

Treasurer MFC

Posted

If you want to change the title of all pages in your site look for this line:

 

define('TITLE', 'osCommerce');

One of them is in catalog/includes/languages/english.php and another one is in catalog/admin/includes/languages/english.php

 

Hopefully that's what you're looking for. If not, try giving more info with your question. :thumbsup:

Posted

Usually for the title I use this code:

<title><?php echo strip_tags($breadcrumb->trail(' » ')); ?></title>

This just uses the breadcrumb trail as a unique title for each page. The meta tags controller is more fine tuned but this works well for most pages.

 

Bobby

Posted

Thanks Bobby. Great advice as usual! :thumbsup:

Posted

Stop it...you're going to make me blush :)

 

Bobby

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...