News:

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

Main Menu

Need a 1 line of code from index.template.php

Started by beatsonic, February 15, 2012, 08:35:31 PM

Previous topic - Next topic

beatsonic

Hello Community,

I was trying to take the Simple Machines logo out of the top right corner from the default theme as indicated here:

http://wiki.simplemachines.org/smf/How_do_I_remove_the_simple_machines_logo

I deleted the code: <img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />

and I started to get an error. I tried putting the code back, still an error. Then, I deleted the whole line where the above code resided and the logo was successfully deleted.

Now, I want to put a different logo in the same space the deleted Simple Machines logo resided with a link back to my Homepage.

Can someone help me either by:

1. copy and paste the original line of code that I deleted so I can modify to suit my need. Or better yet:

2. Write me a 1 line code that allows me to insert a logo/picture or a text with a link that takes me back to my homepage.

Thank you so much for your help!

Eric

ronaldguilmet

i right click on the image to get the image location, and create another image I want that size, and upload to the location of the original. that replaces it for me.

beatsonic

Quote from: ronaldguilmet on February 24, 2012, 03:51:17 PM
i right click on the image to get the image location, and create another image I want that size, and upload to the location of the original. that replaces it for me.

Thank you for the reply!

That is what I was planning on doing, but I lost the whole line of code. Can you help me out with that by copying and pasting your code here?

Thanks!

Eric

kat

Unless you have mods which have edited that file, you could replace it with an original, from the SMF install archive/package, if that helps.

NanoSector

Can you attach the file you edited, here, in your next post?

And what is the error?
My Mods / Mod Builder - A tool to easily create mods / Blog
"I've heard from a reliable source that the Answer is 42. But, still no word on what the question is."

beatsonic

Thank you everyone for your help!

I took all the advice I got from the above posts and was able to fix it to how I want it! Changed the logo on the top right corner with a link back to the homepage.

Thanks!!!!



Advertisement: