TinyPortal
Development => Support => Topic started 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"?
find
$txt['tp-forum'] = 'Forum';
in
TPortal.english.php in the themes/default/Languages folder
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
Did you try and search ?
I found this, it's the same for all themes
http://www.tinyportal.net/index.php?topic=25582.0
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
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.