News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Is it possible to change the Logo link so it redirects to our home page?

Started by made4net, November 17, 2012, 10:57:40 AM

Previous topic - Next topic

made4net

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 hxxp:forum.digitalsignage.com [nonactive]

Thanks for reading,

Sean.

DMR123



made4net

its not possible to change the index.pho or something to modify link of the logo :(

thx

DMR123

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.


emanuele

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">


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Advertisement: