General Community > Scripting Help

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

(1/2) > >>

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.

--- End quote ---

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

K@:
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?

Navigation

[0] Message Index

[#] Next page

Go to full version