SMF Support > SMF 2.0.x Support

Remove the forum Name

(1/4) > >>

AllanD:
How do you remove the forum name in the top left but still keep the forum title?
I saw how to remove the name in the acp but I wanted to keep the title in the browser.
And maybe perhaps without using a mod.

Doctor Deejay:
If you want to remove the forum name link, please attach index.template.php.

K@:
Or, if you mean what I think you do, go to Admin>Server settings and change/remove what's in "Forum Title".  :)

AllanD:
Dr.Deejay can you post the file edit so I can attempt to try myself.This way I know what to edit for the next time if needed.

Doctor Deejay:
Ofcourse, make sure to open index.template.php though. :)
Find:

--- Code: --- <div id="top_section">
<h1 class="forumtitle">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
</h1>';
--- End code ---
And replace with:

--- Code: --- <div id="top_section">
<h1 class="forumtitle">
', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '
</h1>';
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version