TinyPortal

Development => Support => Topic started by: panesarv on January 05, 2008, 08:01:43 AM

Title: Title in Browser
Post by: panesarv on January 05, 2008, 08:01:43 AM
Guys,

Title I want in the browser: eCric - Free Live Cricket, Discussions, Highlights, Videos and More

I would change the title of my board but don't want that long in the forum "tree"

Example: eCric Forums>> General Discussions>>..........

I DON'T WANT - eCric - Free Live Cricket, Discussions, Highlights, Videos and More>>General Discussions

I am using Tiny Portal

I was sucessfully able to edit the title of the board index - http://ecric.net/index.php?action=forum

But I don't know what to do that for the homepage (TinyPortal) - http://eCric.net
Title: Re: Title in Browser
Post by: IchBin on January 05, 2008, 06:27:06 PM
bleh... took me a while to find it. In TPortal.php in the Sources directory the page title is set to be the title of the forum with this code:
$context['page_title'] = $context['forum_name'];

You can change it to whatever you need. If you want to just put your own text in there just make sure you surround it with single quotes.

$context['page_title'] = 'Ecric's Home Page!';
Title: Re: Title in Browser
Post by: panesarv on January 05, 2008, 08:06:36 PM
worked perfectly sir.......great work.....thanks a lot.....
Title: Re: Title in Browser
Post by: G6Cad on January 05, 2008, 10:04:51 PM
I marked this topic as solved  :)