Forum Title

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
Khamosh-Saya
Registered User
Posts: 23
Joined: Mon Feb 02, 2009 7:23 am

Forum Title

Post by Khamosh-Saya »

How Can i set Forum Title.

Coz when ever i login i see that index page title shows. index Page.

User avatar
rahber
Former Team Member
Posts: 14
Joined: Mon Feb 02, 2009 10:08 am
Contact:

Re: Forum Title

Post by rahber »

In the overall_header.html in template folder of your style

there must be

Code: Select all

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
Here you can modify if but keep that if you modify it you will lose page titles for different pages

better to use the default one
lost in area 51 :o

dellsystem
Registered User
Posts: 13
Joined: Tue May 22, 2007 12:10 am

Re: Forum Title

Post by dellsystem »

Alternatively, you can edit index.php itself if you want to change the title for only the index page.

Code: Select all

// Output page
page_header($user->lang['INDEX']);
Can become

Code: Select all

// Output page
page_header('Forum home');
(note that it will remain the same for all languages)
If you use any apostrophes (') escape it using a backslash (so it becomes \')

oXo
Registered User
Posts: 66
Joined: Mon Feb 02, 2009 2:16 am

Re: Forum Title

Post by oXo »

Khamosh-Saya wrote:How Can i set Forum Title.

Coz when ever i login i see that index page title shows. index Page.
go to your ACP/Style/Templates/ hit "edit" choose "overall_header.html" find the line showing in the image attached in this thread and change the red mark indicated in the image with your "Site Name"
Image

User avatar
COD3M4ST3R-X
Registered User
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan
Contact:

Re: Forum Title

Post by COD3M4ST3R-X »

Just to make things simple and easy.
Open:Language/en/common.php
Find:

Code: Select all

	'INDEX'						=> 'Index page',
In-line Find:

Code: Select all

Index page
Change it according to your needs.
E.g.

Code: Select all

	'INDEX'						=> 'My Forum',
Image
Long Live PhpBB!

Khamosh-Saya
Registered User
Posts: 23
Joined: Mon Feb 02, 2009 7:23 am

Re: Forum Title

Post by Khamosh-Saya »

i m confused
Which is better
what i tried??
:roll:

dellsystem
Registered User
Posts: 13
Joined: Tue May 22, 2007 12:10 am

Re: Forum Title

Post by dellsystem »

Khamosh-Saya wrote:i m confused
Which is better
what i tried??
:roll:
:lol: The last way is the best if you want 'index page' to be completely renamed to something else.
Second way is the best if you want only to change 'index page' to something else as it appears on index.php, and if you want it to say that for all languages.
Or, just choose one at random if you're unsure. I don't suggest doing the template edits, as that would effect a change for all pages.

Khamosh-Saya
Registered User
Posts: 23
Joined: Mon Feb 02, 2009 7:23 am

Re: Forum Title

Post by Khamosh-Saya »

Thanks
now i will try :)

Locked