News:

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

Main Menu

Clickable logo - MOD discussion is from 2008

Started by Oversize1, December 16, 2012, 03:39:14 AM

Previous topic - Next topic

Oversize1

You guys are going to eat me alive on this one I just know it.  I need my logo to be clickable.  The MOD writers last post was in 2008 so I don't think I am going to get much interest in a reply.  This is out of my custom (babylon by moi edit) index.template.php file.  So please have a quick look and throw me a fix/bone with an ex: index.* included please, please, please;

   // This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '

<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';

echo '
<img src="', $settings['header_logo_url'], '" alt="Click to goto website main page.', $context['forum_name'], '" border="0"/>';

echo '


Big thanks to any takers and happy holidays to all!

-m-

Colin

Welcome to SMF!

I stuck your example in code tags as it is easier on the eyes. Is this what you are looking for?


// This part is the logo and forum name.  You should be able to change this to whatever you want...
echo '

<span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>';

echo '
<a href="http://www.linkdestination.com"><img src="', $settings['header_logo_url'], '" alt="Click to goto website main page.', $context['forum_name'], '" border="0"/></a>';

echo '
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Oversize1

Colin.  That was VERY nice of you!  Once again happy holidays you awesome coder, you ROCK!!!  Attached is for you!

Colin

Thanks bud. Happy holidays as well. Let us know if you need anything else.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

Advertisement: