Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: made4net on November 17, 2012, 10:57:40 AM

Title: Is it possible to change the Logo link so it redirects to our home page?
Post by: made4net on November 17, 2012, 10:57:40 AM
How can I modify the Logo link? I want so when it is pressed will link to our home page and not back to forum home page?
We are using Forum 2.0.2 latest version.

our forum is http://forum.digitalsignage.com

Thanks for reading,

Sean.
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: DMR123 on November 17, 2012, 10:59:58 AM
It does.. You must have a portal installed.
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: made4net on November 17, 2012, 11:12:01 AM
sorry what is portal?
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: made4net on November 17, 2012, 11:14:26 AM
its not possible to change the index.pho or something to modify link of the logo :(

thx
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: DMR123 on November 17, 2012, 11:58:14 AM
Quote from: made4net on November 17, 2012, 11:12:01 AM
sorry what is portal?

Do you have a portal install, such as simple portal?

Ohh.... I see what your saying.. You want it to link to your main website rather than the forum.
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: DMR123 on November 17, 2012, 12:06:08 PM
Something like this.. For 2.0.2

http://custom.simplemachines.org/mods/index.php?mod=1657
Title: Re: Is it possible to change the Logo link so it redirects to our home page?
Post by: emanuele on November 17, 2012, 12:46:55 PM
Reposting my answer from the duplicate topic.
Quote from: emanuele on November 17, 2012, 12:28:03 PM
You have to change the theme, in particular the file index.template.php
In the default theme the code looks like:
<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>';

you have to change that part:
<a href="', $scripturl, '">
for example to:
<a href="http://www.thisismysite.tld">