Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help changing main page <title>


Seventh

Recommended Posts

Posted

Sorry to ask such a simple question, but its the last thing I have to do to finish my store and I have been trying now for hours.

 

Bascially at the very top of my main page it says "osCommerce - Microsoft Internet Explore"

 

Could some please tell me the best way to change this to "My Store Name".

 

I would greatly appreciate the help.....

 

Thank you...

Posted

it's under index.html in the root.

 

Line 4

<html>

<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1251">

 

<title>A+ Computers Online</title>

<style>

TD {font-family: tahoma; font-size: 11px;}

A{font-family:tahoma;font-size: 11px;color:000000;font:900;text-decoration:underline}

A:visited {color:ffffff}

A:hover {color:red;}

.bold{font:900}

Posted

Hi,

 

Thank you for the fast reply, in the root of my store, there is no html files all are php only, I have seached all directories for the store and there are no html files. Maybe I'm looking in the wrong place....

 

Thanks again...

Posted
Bascially at the very top of my main page it says "osCommerce - Microsoft Internet Explore"

 

Could some please tell me the best way to change this to "My Store Name".

There are at least two ways, but the easiest are:

1. Open index.php. At about line 39 there are title tags with some php code nested in between. You can replace the php statement with the text you want. This will change only the index.php title.

 

2. Open includes/languages/english.php. At about line 48 there is a line that looks like this define('TITLE', 'some text');

You can replace the 'some text' statement with the text you want. This will change the title for all the pages.

-Dorian

Posted

Wow and it really worked, I used option 2 .........

 

// charset for web pages and emails
define('CHARSET', 'iso-8859-1');

// page title
define('TITLE', 'Virtual Battlespace : VBS1 On-line Store');

// header text in includes/header.php

Posted

i also needed to fix this thanks from me too this forum is great, to bad as in every thing there are some small minded people who just because they have some power they must throw there weight around,no doubt little guys in real life who love to be hot shots on line any way thanks for info

Archived

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

×
×
  • Create New...