TinyPortal

Development => Support => Topic started by: wickedstangs on November 11, 2007, 12:50:52 AM

Title: Forum Title
Post by: wickedstangs on November 11, 2007, 12:50:52 AM
When I go to Server Settings and Remove the Forum Title it also removes it from the Internet Explorer TAB index. How can I replace that?

www.1ofakindwooddesign.com/community/index.php
Title: Re: Forum Title
Post by: Nokonium on November 11, 2007, 07:23:54 AM
Wickedstangs

The Aero/Terra index.template uses the following code to display either a logo or the forum name

echo '
</div>
<table id="top" cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><img style="margin: 0;" src="'.$settings['images_url'].'/img'.$context['mycolor'].'/logo.gif" alt="" />
</td><td valign="bottom"><div id="forumname">';
if (empty($settings['header_logo_url']))
echo $context['forum_name'];
else
echo '<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo ' </div></td></tr>
</table>


So if you put a link to a logo graphic it will not display the forum name. If you don't want to see either you can put in a link to a completely transparent gif, it only needs to be 1px by 1px.

The linktree should then show what is set in the server settings.
Title: Re: Forum Title
Post by: wickedstangs on November 11, 2007, 12:58:34 PM
nokonium not sure if this is ok but, I went into my index.template.php and removed this code <title>', $context['page_title'], '</title>'; And it looks to be working some what. :uglystupid2:
Title: Re: Forum Title
Post by: IchBin on November 12, 2007, 12:31:54 AM
That takes the title off your page, so you won't see a title on your browser when viewing your page. Look for the $context['forum_name'] code and remove it instead.
Title: Re: Forum Title
Post by: wickedstangs on November 14, 2007, 11:52:40 PM
Quote from: IchBinâ,,¢ on November 12, 2007, 12:31:54 AM
That takes the title off your page, so you won't see a title on your browser when viewing your page. Look for the $context['forum_name'] code and remove it instead.

Where can this be found?
Title: Re: Forum Title
Post by: IchBin on November 14, 2007, 11:53:30 PM
index.template.php
Title: Re: Forum Title
Post by: wickedstangs on November 15, 2007, 12:35:13 AM
Looked in there but, it says something like // If RSS feeds are enabled, advertise the presence of one.
Title: Re: Forum Title
Post by: IchBin on November 15, 2007, 02:01:18 AM
If you looked in the index.template.php file and didn't find it, you're out of luck mate. I know for a fact that the variable is in that file.
Title: Re: Forum Title
Post by: wickedstangs on November 15, 2007, 02:13:28 AM
Quote from: IchBinâ,,¢ on November 15, 2007, 02:01:18 AM
If you looked in the index.template.php file and didn't find it, you're out of luck mate. I know for a fact that the variable is in that file.
IchBin, I did find it. There are like 4 to 5 of them I didnt know which one to remove? I posted there is one under the //IF Rss Feed do I remove that one?