TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 468
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 90
  • Total: 90

Title in Browser

Started by panesarv, January 05, 2008, 08:01:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

panesarv

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

IchBin

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!';

panesarv

worked perfectly sir.......great work.....thanks a lot.....

G6Cad

I marked this topic as solved  :)

This website is proudly hosted on Crocweb Cloud Website Hosting.