News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Help changing forum logo to link back to main website

Started by markvc, May 31, 2011, 10:40:09 AM

Previous topic - Next topic

markvc

So I'll be honest, I'm a complete noob and need help linking the logo for my forums back to the site.  I'm using SMF2 RC5 w/ Blackrain V2 them and am attaching the index.template.php as well.  Any help would be appreciated.

From what I've gathered from googling is that you need to edit that somewhere, but I have no idea where.

Thanks!

Dzonny

Hello there and welcome to smf community.

This should do the trick, just change www.site.com (line 203) to your site link, and upload it back to server.
Let me know if you need further help about this.

Regards.

markvc

Tried it, refresh the page so it would ignore cache (even deleted my cache entirely), tried a 2nd browser that I never use on the site to be sure and refreshed it, no luck. Still redirecting back to the forums instead of the home page.

http://forums.paradoxhorde.net  is the site.  The Paradox | Mal'Ganis logo in orange at the top is what I'm trying to redirect.

Sir Osis of Liver


In index.template.php -

Find this:



<td align="center"><a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/myslogan.jpg" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
</td>




Change it to this:



<td align="center"><a href="www.yourwebsite.com" title="Your Website Name"><img src="', $settings['images_url'], '/myslogan.jpg" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
</td>




Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

markvc

Krash;

I actually tried that this afternoon when I was looking at things in hopes that it would work.  Reverted back the first change to original and tried it.  Tried it with the first change still active.   Both ways are still causing it to just loop back to the forum page instead of the main website.

Any other ideas you guys might have?  Thanks again for the help in this.

EDIT - Just to add in too, I also rebooted the website to flush the cache (assuming it would flush it) and it's still redirecting to the forums.

2nd EDIT - Well apparently absolutely no changes are going through as I just changed the logo on purpose to see if it'll display an error and it's still showing the proper logo.  Any idea how to force it to reload the template?

mashby

Did you change this?
<a href="'.$scripturl.'" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/myslogan.jpg" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>
to this?
<a href="http://www.paradoxhorde.net" title="', $context['forum_name'], '"><img src="', $settings['images_url'], '/myslogan.jpg" style="margin: 2px;" alt="', $context['forum_name'], '" /></a>Or something different?
Always be a little kinder than necessary.
- James M. Barrie

markvc

Mashby;

Yeah that's what I changed.  As you can tell by my 2 edits just above it looks like the changes aren't actually going in to effect as I did some intentional changes to the myslogan.jpg to myslogan.gif to force it to error out the graphic.

STill not sure how to force it to take the new template.

EDIT - Well thanks for the help folks, it's working now!  I got one of the guys at the host to reboot the site again and it seems all good.  It's like a ghost was possessing things.  Thanks again!

Bob Mueller

2 Questions:

How can I do the same thing with the Core theme?

Any idea why the Core them isn't doing this? Is it by design? Curve has the image linked, I assume by default.
--
Bob M.

Sometimes it takes therapy to put the past behind you. Other times, it takes a 20 gallon trash bag and a couple of cinder blocks.

Jeff aka BOLT

Worked for me on Curve and redhead20...  thanks for the support...  al be it 120 later...  There is a reason information NEVER goes out of date.

Thanks again.

Advertisement: