Changing the Portal Page Title

Discussions about the phpBB2 Forum. How to get the best from this powerful script.

Moderator: Moderators

Changing the Portal Page Title

Postby sportman1280 » Sun Dec 10, 2006 4:15 pm

I was wondering how i can change the portal title name. I dont want it to be Hyundaituners :: Home

I want it instead to be like Hyundaituner - Tune Your Hyundai.

But i also dont want to mess up all the other pages.... Any ideas?
sportman1280
phpBB SEO Team
phpBB SEO Team
 
Posts: 283
Joined: Wed Nov 29, 2006 9:11 pm

Advertisement

Postby dcz » Sun Dec 10, 2006 4:46 pm

hard to tell without knowing which portal and without a link ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Postby sportman1280 » Sun Dec 10, 2006 5:51 pm

lol sorry, it is the IM portal. Is there a better on out there?

url : http://www.hyundaituners.com
sportman1280
phpBB SEO Team
phpBB SEO Team
 
Posts: 283
Joined: Wed Nov 29, 2006 9:11 pm

Postby dcz » Sun Dec 10, 2006 6:11 pm

I don't know much about IM portal, but I bet you'll find a
Code: Select all
$page_title = something

before page_header.php is included in portal.php.

I bet the "home" part of the title is a $lang['something'] var, you could thus change it to whatever.

If you do not make it, search for $page_title in portal.php and post the line o f code here, I'll tell you what to do ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Postby sportman1280 » Sun Dec 10, 2006 6:28 pm

Code: Select all
$page_title = $lang['Home'];
define('SHOW_ONLINE', true);
include($phpbb_root_path . 'includes/page_header.'.$phpEx);


i know that this changes the Hyundaituners :: Home but how do i remove the :: also? I want a dash instead of the ::
sportman1280
phpBB SEO Team
phpBB SEO Team
 
Posts: 283
Joined: Wed Nov 29, 2006 9:11 pm

Postby dcz » Sun Dec 10, 2006 7:17 pm

Ok so the :: is defined in overall_header.tpl.

You can change :
Code: Select all
$page_title = $lang['Home'];


to :

Code: Select all
$page_title = "your title";


So that the other part of the script using $lang['Home'] won't be affected.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm

Postby sportman1280 » Sun Dec 10, 2006 7:40 pm

i changed it to 'Tune Your Hyundai'. But it still does "HyundaiTuners :: Tune Your Hyundai" I guess i cant change that can i?
sportman1280
phpBB SEO Team
phpBB SEO Team
 
Posts: 283
Joined: Wed Nov 29, 2006 9:11 pm

Postby dcz » Mon Dec 11, 2006 5:59 pm

Yes you can ;)

Open :

Code: Select all
template/subSilver/overall_header.tpl


find and delete :

Code: Select all
{SITENAME} ::


I'll soon put together a title enhancement mod for phpBB ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21376
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB2 Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests