PDA

View Full Version : Changing Title


-brs.2-
5-18-04, 01:25 PM
Does anyone know where I can change the title for all of the pages in osCommerce?

The code has this... <title><?php echo TITLE; ?></title>

I need to change this to be the same thing throughout the entire store.

TITIRIT
5-18-04, 02:16 PM
open file: include/languages/language_file.php

there search for define('TITLE', '..................

usualy around line 95.

-brs.2-
5-18-04, 03:00 PM
Awesome information. Honestly, I never would have thought to look there, but it makes perfect sense. Thanks TITIRIT!

PS - (jj) I'm nearly avatar-worthy. *grin*

stevel
5-18-04, 04:49 PM
A site management tool with good search capabilities is required to keep your sanity with osCommerce.

Nearly all text strings you see displayed will be in one of the PHP files under includes/languages. For strings used on multiple pages, look in english.php. Strings that are specific to one page will be under /english with a file of the same name as the page in question (index.php, for example.)

The other files of interest, under includes, are:

header.php - puts out the common stuff at the top of the page, including the navigation bar and the logo.

footer.php - puts out common stuff at the bottom of the page. Mostly this is just text that comes from english.php

column_left.php and column_right.php - defines what goes in the left and right columns.

-brs.2-
5-18-04, 04:59 PM
Thank you Steve. I'll definitely value that information for a long time to come. :D

TITIRIT
5-18-04, 05:19 PM
u'r welcome. happy selling :)