Change viewtopic.php page title.

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
PCHelpWorld
Registered User
Posts: 79
Joined: Mon May 22, 2006 4:51 pm
Contact:

Change viewtopic.php page title.

Post by PCHelpWorld »

Hi,

can i change the title of viewtopic.php so that it doesn't say something like

site name - site description - view topic - topic title

to

site name - topic title

i have tried replacing this line
$page_title = $lang['View_topic'] .' - ' . $topic_title;

with

$page_title = $topic_title;

but i still see the site name and =description. Any ideas?

Maddocks
PCHelpWorld
Registered User
Posts: 79
Joined: Mon May 22, 2006 4:51 pm
Contact:

Post by PCHelpWorld »

Hi again,

is it something to do with it including the overall_header.php?

Maddocks
CoRuP7ioN
Registered User
Posts: 215
Joined: Thu Jul 21, 2005 6:58 am

Post by CoRuP7ioN »

are you talking about where it says phpBB.com :: on this site? Like on the bar? or the links that are like phpbb.com forum index -> phpbb support?
PCHelpWorld
Registered User
Posts: 79
Joined: Mon May 22, 2006 4:51 pm
Contact:

Post by PCHelpWorld »

Hi,

yes, i want it to say

sitename - topic_title

maddocks
Locked

Return to “2.0.x Support Forum”