Making the community name come up on the windows bar w/o showing up on the forum

Started by celestia., July 12, 2009, 11:31:28 AM

Previous topic - Next topic

celestia.

Is there a way to change the forum title that gets displayed in the top windows bar so that it does not appear on the actual forum? By SMF default, the forum name appears in the top windows bar. It would not be a problem except I don't want the text-link to appear on the actual forum (as it does when you select a text link instead of a header image)
I've done a google search but i don't seem to be using the correct terminology for what i'm after.

Tyrsson

PM at your own risk, some I answer, if they are interesting, some I ignore.

celestia.


Tyrsson

Please bear in mind this may not be exactly the same since this is not a default theme.

Find:
if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';





Replace with:
if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; "></span>';


That should do it.
PM at your own risk, some I answer, if they are interesting, some I ignore.

celestia.

Sorry, this may be all too obvious, but which file should I be looking at?

Settings.template.php  or Settings.php ...or a completely different one?

Tyrsson

Sorry about that.... Themes/default/index.template.php around line #182 I think.
PM at your own risk, some I answer, if they are interesting, some I ignore.

Tyrsson

ALso please do not use standard notepad to edit php files. Use something like Notepad++. Its free.
PM at your own risk, some I answer, if they are interesting, some I ignore.

celestia.

Thankyou very much :)
I actually just edited it within the forum using the configuration links to 'modify themes'.

Tyrsson

Awesome :)

Will mark this one as solved. If you have any further questions please feel free to post them.
PM at your own risk, some I answer, if they are interesting, some I ignore.

celestia.

Thank you very much :)
Do you have tips for searching this forum? I usually do a quick search, but some of the queries get so technical that I'm not sure i'm looking for it until I've actually read through it.

TheMortician4

Quote from: Tyrsson on July 13, 2009, 04:30:19 AM
Sorry about that.... Themes/default/index.template.php around line #182 I think.

What editor should be used to modify any of these files? or the best suggested editors?

celestia.

Quote from: emjan101 on July 13, 2009, 12:35:27 PM
Quote from: Tyrsson on July 13, 2009, 04:30:19 AM
Sorry about that.... Themes/default/index.template.php around line #182 I think.

What editor should be used to modify any of these files? or the best suggested editors?


Quote from: Tyrsson on July 13, 2009, 04:30:19 AM
Sorry about that.... Themes/default/index.template.php around line #182 I think.
is this ^^ what you're after ?

Advertisement: