Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

How to replace the TEXT logo

Aloittaja javacafe, toukokuu 26, 2011, 08:02:37 IP

« edellinen - seuraava »

javacafe

I have been rseraching for the last three hours and going crazy now.  I have figured out how to replace the SMF logo at the top right hand corner. But, how do I change the text link at the top left corner (which has the site name as a hyperlink) to a graphic image?

I am using the default theme (Curve) on version 2.0RC5.

I am specifically referring to the "forum_name" that is inserted in the "forumtitle" div in the "top_section".  I have uploaded the image I wantto show up there, but cannot fathom what code (or Admin setting) I need to change. 

Would be very appreciative of any help.

Thanks,  ~ JC.

"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

mashby

It's a bit of a hack job, but it should work. Admin > Configuration > Server Settings >
In the Forum Title field, you can put the HTML code for your image, something like this:
<img src="PATH" alt="logo" />Replacing the src dealio with the path to your image.
Always be a little kinder than necessary.
- James M. Barrie

javacafe

Thank you.  What you suggested works.

However, now, the entire line of code shows up right under the menu (just above the "General Category" header of the Forum.  I don't mind if that is commented out.  But, how do I do that?

<img src="path/logo.jpg" alt="logo for forum">

Your help is much appreciated.
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

Ozzie

#3
i find it easier to go to admin  Themes and Layout/theme settings then Theme Options and Preferences/Logo image URL just add the path there I.E images/picname.png or whatever  no need for the html tags

2000+ games available to download

javacafe

@mashbie:  The same problem also shows up on the login page.  Please see this link:  http://174.120.23.67/~badfworg/forum [nofollow]

@ozzie:  I went to Admin > Themes and Layouts> Theme Settings . . .   After that, where do I go?  Modify themes?

Thank you, both.
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

mashby

Yeah, that's why it's a hack job and likely should never be used again! I apologize for even thinking it might work. That field is really meant for text only I guess. It sounds like you want two images. That would be a matter of editing the index.template.php of the theme you are using.
Always be a little kinder than necessary.
- James M. Barrie

Ozzie

after you have gone to Theme  Admin > Themes and Layouts> Theme Settings go to  Options and Preferences/Logo image URL as i said in post which is just down

from top of that page

2000+ games available to download

javacafe

Ozzie:  I so appreciate your patient help.  But, somehow, I am getting totally lost at the last step.  Are we looking at different versions of SMF?  Or, am I brain-farting around after slogging around for four hours?

I am attaching a screen shot.  Perhaps, that will have a clue as to why I can't find what I am looking for.
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

Ozzie

Whoops my bad admin/current theme theme settings ...soz

2000+ games available to download

javacafe

Current theme settings, right after Admin? 

None of the following exist: 

Admin > Current theme settings

Admin > Current theme

Admin > Themes and Layouts > Current themes

PLEASE, could you give me navigation path with the > sign separating the mouse clicks.  Once again, thanks.
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

Ozzie

click admin

under configeration find   current theme click that

and logo image url box will be just down from the top enter the path in there and save

2000+ games available to download

javacafe

Got that!    :)

Thank you for being so patient with me.  Your help is much appreciated. 
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

Ozzie


2000+ games available to download

mashby

Thanks OZZIE...you taught me something too...I'm not as verse in 2.0 as I likely should be (one of these days I'll get around to learning it).

javacafe, as it seems like this issue is solved for you, there's a nice little link at the bottom of this topic that will mark this solved.
:)
Always be a little kinder than necessary.
- James M. Barrie

Ozzie

hey mash its a lot easier ..only draw back is if u got loadsa themes you gotta do it on all themes but it not a big problem.. well not for me as i save the logo image in root so all i gotta enter in box is forum/ image.png in all themes

2000+ games available to download

javacafe

Thanks, guys.  I hope, someday, I will be some help to others as well.

Take care now.
"Time flies like an arrow.  Fruit flies like banana" ~ attrib. to Groucho Marx.

Advertisement: