SMF Support > SMF 2.0.x Support

Change Hyperlink on Logo

<< < (2/2)

ApplianceJunk:
Try this, make sure you have a backup or can reverse the changes you try first. :)

In Themes/default/index.template.php

Find:


--- Code: ---<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 ---

Change it like this.


--- Code: ---<h1 class="forumtitle">
<a href="http://MyWebsite.com">', 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 ---

grizzz:
AJ THAT WORKED!!!! :D :D :D 

Thanks a million dude

ApplianceJunk:
Glad I could help.

Navigation

[0] Message Index

[*] Previous page

Go to full version