You are here:  » Change sitename in TITLE from (- Sitename) to (| Sitename)

Support Forum



Change sitename in TITLE from (- Sitename) to (| Sitename)

Submitted by npaitken on Wed, 2009-01-28 10:22 in

Hi David,

Just trying to tidy up my PT titles to match the rest of my site. How do I change:

From

TITLE - SITENAME

To

TITLE | SITENAME

Many thanks,
Neil

Submitted by support on Wed, 2009-01-28 12:31

Hi Neil,

The script as it stands doesn't generate either style of title - however you can easily append the value of $config_title to the generated title (e.g. search keywords, product name etc.) with the | character by changing html/header.php which contains the following code on line 13:

<title><?php print (isset($header["title"])?$header["title"]:$config_title); ?></title>

...try something like this instead:

<title><?php print (isset($header["title"])?$header["title"]." | ".$config_title:$config_title); ?></title>

Cheers,
David.