TinyPortal

Development => Support => Topic started by: jepot on August 20, 2008, 06:18:27 AM

Title: What part of tinyportal?
Post by: jepot on August 20, 2008, 06:18:27 AM
What part of tinyportal shows the forum name on the home page? Because instead of showing my forum's name on my homepage I want to show "Home"?
Title: Re: What part of tinyportal?
Post by: G6Cad on August 20, 2008, 07:11:05 AM
find
$txt['tp-forum'] = 'Forum';

in

TPortal.english.php in the themes/default/Languages folder
Title: Re: What part of tinyportal?
Post by: jepot on August 20, 2008, 07:40:16 AM
Not quite.

What I need is the one that says 'forum_name'
When i have TP installed, I always see

{my forum name}

on the top of my browser on the index page
When I go to my forum, i see

{my forum name} - Index

What i need is to change what it displays on the front page, so I see

{some other text i entered -} Home
Title: Re: What part of tinyportal?
Post by: G6Cad on August 20, 2008, 08:24:31 AM
Did you try and search ?

I found this, it's the same for all themes

http://www.tinyportal.net/index.php?topic=25582.0
Title: Re: What part of tinyportal?
Post by: jepot on August 20, 2008, 09:02:05 AM
 I have done that.

That code is behind the <title> tag
For example, I have a forum called 'My Community'
I replaced it with
<title>My Community -',$context['page_title'], '</title>

But now whenever I go on my homepage I see
My Community - My Community
Because tinyportal uses ',$context['forum_name'],'
as page title on the home page
Title: Re: What part of tinyportal?
Post by: IchBin on August 20, 2008, 02:41:55 PM
Keep searching in the file. $context['forum_name'] is in the file a couple of times. More specificially after the <body> tag is where the Title is set.