| :: |
| Author |
Message |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 113
|
Posted: Sun Sep 02, 2007 4:27 am Post subject: Optimal titles - changing index page title? |
|
|
I am using the Optimal Titles mod, which works well.
But the forum index page now has the title "Index page".
In phpbb2, you could change this by opening the lang_main.php page and changing the variable $lang[’Index’] from 'Index page' to whatever new title you wanted to give it.
There is no $lang[’Index’] in phpbb3. Any idea how I can change the index page title in phpbb3?
Thanks. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
GSARider
Joined: 29 Feb 2008 Posts: 4
|
Posted: Tue Mar 04, 2008 3:48 pm Post subject: Re: Optimal titles - changing index page title? |
|
|
I've also installed this...now any specific section of the forum only has . : such as below in General discussions area.
any ideas on how to change this?
See pic below...
 |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 795
|
Posted: Wed Mar 05, 2008 1:51 am Post subject: Re: Optimal titles - changing index page title? |
|
|
| What's in the overall_header.html file near the <title> tag? Presumably it's looking for template variables you have not defined. |
_________________ Dan Kehn |
|
| Back to top |
|
 |
GSARider
Joined: 29 Feb 2008 Posts: 4
|
Posted: Wed Mar 05, 2008 10:57 am Post subject: Re: Optimal titles - changing index page title? |
|
|
I should add that the main Index page is okay - it's just all the sub forums.
Just copied this from Overall_Header.html
I'm also having a problem with the EG DELETE - which the instructions said to enter - it's appearing on some of the pages.
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF --></title>
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />
{META}
EG Delete
This was in the instructions:
#
#-----[ OPEN ]------------------------------------------
#
styles/prosilver/template/overall_header.html
#
#-----[ FIND ]------------------------------------------
#
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
#
#-----[ AFTER, ADD]------------------------------------------
#
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF --></title>
#
#-----[ FIND ]------------------------------------------
#
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
#
#-----[ REPLACE WITH ]------------------------------------------
# EG Delete |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 795
|
Posted: Thu Mar 06, 2008 12:52 pm Post subject: Re: Optimal titles - changing index page title? |
|
|
This means delete what was specified above (there is no "delete" in the MOD format).
| Code: | #
#-----[ REPLACE WITH ]------------------------------------------
# EG Delete |
|
_________________ Dan Kehn |
|
| Back to top |
|
 |
brucey
Joined: 07 Jun 2008 Posts: 17
|
Posted: Sat Jun 14, 2008 7:03 pm Post subject: Re: Optimal titles - changing index page title? |
|
|
| dcz wrote: | It's the same with phpBB3, excepts it's $user->lang['INDEX'] to be used now, and the language file to search for it is :
language/en/common.php
Look for :
| Code: | | 'INDEX' => 'Index page', |
++ |
Thanks, this is just what I needed |
|
|
| Back to top |
|
 |
|
|