News:

Wondering if this will always be free?  See why free is better.

Main Menu

Logo Links

Started by Putnam, March 26, 2010, 10:57:00 PM

Previous topic - Next topic

Putnam

Is there any hard-coding or mod I can use to set where clicking on the logo points you to? Like instead of index.php, I want it to lead to index.php?action=forum or w/e.

How can I do this?

Deaks

depends on the theme you are using.
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Putnam

I am using the default theme.

KensonPlays

Then there should be a setting in current theme area, try that and linking it!

Owner of Mesozoic Haven

Gryzor

I came here looking for the exact same thing, since a mod I found does not work with 2.0RC3, and lo and behold! there's a thread started yesterday :)

However, I can see no such setting in the current theme area... can you be more specific? This is something I've been trying to do for ages!

Thanks,
G

Putnam

Same prob as Gryzor.  I am using 2.0 RC2, no setting under current theme.

Deaks

in  Themes/default/


open index.template.php and look for


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



change that to


<a href="', $scripturl, '/index.php?action=forum">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a>
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Gryzor

Hm... do you change the "/index.php?action=forum" part with the URL you want it to point to? Or something else?

Deaks

if you want it to point to a dif address you would need to change everything between the "" in the a href for example

<a href="http;//www.simplemachines.org">

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

Gryzor

Ah yes! That worked fine, thanks indeed!

But, after all, is there a mod? Or an option, like the one you described earlier?

greyknight17

I'm not aware of any mod that does this.

Marking this issue as resolved.

Advertisement: