http://www.icyphoenix.com/viewtopic.php?f=35&t=5666
-----------------------------------
ankur0412
Sat 04 Apr, 2009 14:12

Meta Title For Forum.php
-----------------------------------
How do I change the meta page title for forum.php file? I just want to change the meta title for this file alone, nothing else.


-----------------------------------
DWho
Thu 23 Apr, 2009 10:27

Re: Meta Title For Forum.php
-----------------------------------
look for page_title in forum.php...

it should be linked to a lang file ...

 :mrgreen:  :mrgreen:


-----------------------------------
Nirose
Sun 06 Dec, 2009 05:51

Re: Meta Title For Forum.php
-----------------------------------
I couldn't find the lang file related. Could you please guide.


-----------------------------------
TheSteffen
Sun 06 Dec, 2009 23:16

Re: Meta Title For Forum.php
-----------------------------------
you need to open language-->your language --> lang_main_settings.php 

find

[code]$lang['Index'] = 'Icy Phoenix';
$lang['Default_META_Keywords'] = 'phpbb, forum, icy phoenix, icyphoenix, icy, phoenix, php, portal, cms, premodded, community, open source, mods, templates';
$lang['Default_META_Description'] = 'Icy Phoenix is an highly customizable CMS based on phpBB which allows you to create a dynamic site with a lot of features for powering web communities.';
$lang['Default_META_Title'] = 'Icy Phoenix';
$lang['Default_META_Author'] = 'Mighty Gorgon And Icy Phoenix Staff :: http://www.icyphoenix.com/';
$lang['Default_META_Copyright'] = '(c) 2001-' . date('Y', time()) . ' Mighty Gorgon';[/code]

change what you need but remember not to delete the ''


-----------------------------------
Nirose
Wed 23 Dec, 2009 07:38

Re: Meta Title For Forum.php
-----------------------------------
I only want to change the Meta title of the forum. 

I have already done that with the homepage.


-----------------------------------
Mighty Gorgon
Wed 23 Dec, 2009 14:01

Re: Meta Title For Forum.php
-----------------------------------
Open [b]forum.php[/b] and edit this part:


[codeblock]$page_title = $lang['Forum'];
$meta_description = '';
$meta_keywords = '';[/codeblock]


-----------------------------------
Nirose
Mon 28 Dec, 2009 17:47

Re: Meta Title For Forum.php
-----------------------------------
It didn't work Gorgon. I had already tried it when i changed it the title just changes to the title of whats in the home page.


-----------------------------------
Mighty Gorgon
Tue 29 Dec, 2009 12:00

Re: Meta Title For Forum.php
-----------------------------------
I think you did something wrong, because page_title is defined there... please provide a link with the page you want to change the title.


-----------------------------------
Nirose
Wed 30 Dec, 2009 05:58

Re: Meta Title For Forum.php
-----------------------------------
The link is www.rosehost.net

the forum at www.rosehost.net/forum.php. 

They both have the same Title even after i change the page_title part.

My code looks like this
$page_title = $lang['RoseHost WebMasters Forum'];
$meta_description = '';
$meta_keywords = '';


-----------------------------------
Mighty Gorgon
Wed 30 Dec, 2009 10:08

Re: Meta Title For Forum.php
-----------------------------------
I see META and TITLE correctly:

[codeblock]<meta name="title" content="RoseHost: Paid And Free Web Hosting" />
<title>RoseHost: Paid And Free Web Hosting</title>[/codeblock]


-----------------------------------
Nirose
Thu 31 Dec, 2009 06:09

Re: Meta Title For Forum.php
-----------------------------------
Ya but i want the forums meta title to change to webmasters Forum. and it doesn't


-----------------------------------
Mighty Gorgon
Thu 31 Dec, 2009 10:45

Re: Meta Title For Forum.php
-----------------------------------
You want TITLE and META TITLE to be different each others?


-----------------------------------
Nirose
Thu 31 Dec, 2009 12:09

Re: Meta Title For Forum.php
-----------------------------------
No i just want the portal page and forum pages title to be different which isn't seem to be happening.


-----------------------------------
Mighty Gorgon
Thu 31 Dec, 2009 19:11

Re: Meta Title For Forum.php
-----------------------------------
Can you please try this?

[codeblock]$page_title = 'RoseHost WebMasters Forum';
$meta_description = 'RoseHost WebMasters Forum';
$meta_keywords = 'RoseHost WebMasters Forum';[/codeblock]


-----------------------------------
Nirose
Wed 07 Apr, 2010 19:35

Re: Meta Title For Forum.php
-----------------------------------
it didn't work

Some how the forum page doesn't pull the title from the $page_title:


-----------------------------------
Exau
Wed 07 Apr, 2010 21:51

Re: Meta Title For Forum.php
-----------------------------------
[quote user="Nirose" post="48670"]it didn't work

Some how the forum page doesn't pull the title from the $page_title:[/quote]

I couldn't make it work neither  :( 

I could only add a prefix for all site page titles, well that's goes for me at least. Wanna try it?

Open [b]overall_inc_header.tpl[/b] and add your site name before [b]{PAGE_TITLE}[/b] save it, clean cache and refresh page.

Curious case with $page_title var don't you think?

Regards,


-----------------------------------
Mighty Gorgon
Sat 17 Apr, 2010 10:14

Re: Meta Title For Forum.php
-----------------------------------
Are we talking about Icy Phoenix 1.3 or older version?

This section should only contain topics about older versions. If you have queries about last stable release, please open a detailed topic in the Support forum and I will try to help there.

Thanks


