Change logo in Garland Theme

olof - January 29, 2007 - 13:07

I'll start by saying that I'm a newbie...

I've tried to change logo in garland theme for some time now but has not yet succeeded. I've tried different image sizes (also exact same size as the original logo), .png and .gif files, upload through ftp and upload through image upload function inside Drupal, changed permissions on files folder but still no custom logo. Can someone please help?

My Drupal site is hosted by one.com.

/Olof

I'm also a newbie... but i

drapichrust - January 29, 2007 - 13:22

I'm also a newbie... but i have managed to change logo :D

I'm not sure but I think that you have changed colors for your theme. If it's true than your logo had been generated from file base.png. It is image of all gradients in this theme. So your logo.png file from themes directory is no longer used. The best thing you can do is check some handbooks about themes...

Sorry for my English ;)

That's if he is using Drupal

uzbekjon - January 29, 2007 - 14:30

That's if he is using Drupal 5, right ?

I didn't see any options to change theme colour in Drupal 4...

-------------------------------
Sites for uzbeks and Uzbekistan:
Uzbek Lyrics Database
Uzbekistan Forum

Theme colours

olof - January 29, 2007 - 18:00

I have not changed the colours for my theme. Will do that later but want to get the logo working first.

If drapichrust's solution

uzbekjon - January 29, 2007 - 14:32

If drapichrust's solution does not help, try to Force Refresh the content in your browser. CTRL+F5

Your browser might be serving you from its cache...

-------------------------------
Sites for uzbeks and Uzbekistan:
Uzbek Lyrics Database
Uzbekistan Forum

Force refresh

olof - January 29, 2007 - 18:01

I've tried that too.

Administration - THEMES -

XiangXiang - January 29, 2007 - 15:12

Administration - THEMES - Configure - garland -
Logo image settings -
Disable "Use the default logo"
And then either choose path to custom logo or upload your own logo

Tried that?
o.o

Logo

olof - January 29, 2007 - 18:05

Yes, tried that too. Both upload through ftp and manually enter path and upload through Drupal upload (with disabled "Use default logo".

I actually get the same

RMDTech - January 29, 2007 - 15:18

I actually get the same problem but more on the scale of Drupal is not recognizing the image as an image. Haven't figured out why it does that though.

hi, try it once

vijayface - January 29, 2007 - 15:42

just replace your new logo with old one in your theme file with the same name.
i hope it works
reply me

Replace logo

olof - January 29, 2007 - 18:06

Yes, I'll try that and get back to you.

Replaced logo

olof - January 29, 2007 - 19:04

I tried to replace the default theme logo (located in /themes/garland/) with my logo. I used the same file name and it worked fine. I also tried to upload once more through ftp and Drupal upload but it still doesn't work. I can see the uploaded logo file in the files directory but no change in the Drupal website (after refresh...). Strange! Can it have something to do with .htaccess file in files directory? As I said earlier, my host is one.com. Perhaps someone recognises the problem.

It works...

RMDTech - January 29, 2007 - 20:02

Well it works but it messes up my logo that I have making it underneath the search field. I guess I will have to figure it out myself although may actually use a different theme anyway. thanks for getting it to work though.

Change logo in Garland Theme

pfiguero - April 10, 2007 - 15:34

I had the same problem. I solved it by commenting two lines at the .htaccess file in the files/ directory:

#Options None
#Options +FollowSymLinks

I guess it is equivalent to deleting such a file... ;) Although, I would like to know if this causes security problems.

Seems to be a Windows issue..

hirstd68 - September 26, 2007 - 21:53

Swapping the default theme logo file works but nothing else does. I'm running a local server on an XP machine. My colleague has had no issues on a local Mac server. Yeah, yeah, I know....

Any XP-specific solutions?

re:

heze54 - October 9, 2007 - 07:44

I commented with # those lines but still have the same problem with logo and favicon.

What can I do?

Running 5.2 under apache 2.2.3

same problem

lucacerone - March 2, 2008 - 19:10

I'm having the same problem under Ubuntu 7.10.
If you have a look at the page code, after saving the settings,
you can recognize that it looks for garland_logo.jpg again.
But I can't understand why it shows my site name instead of the logo.

Anyone has found a solution?

same problem

lucacerone - March 2, 2008 - 19:12

I'm having the same problem under Ubuntu 7.10.
If you have a look at the page code, after saving the settings,
you can recognize that it looks for garland_logo.jpg again.
But I can't understand why it shows my site name instead of the logo.

Anyone has found a solution?

I think it could be a matter of sizes!!
(my picture is bigger than garland's one...)

Logo Issues - similar problem

jamescarvin - April 4, 2008 - 13:56

I've tried a number of solutions. I'm running drupal 5.7 on my development server and 6.1 on the site I'm having trouble with. I've uploaded the image to my own images directory below the garland folder, and into the images directory that's in the themes folder in garland.

Interestingly, it captured an old logo I had when I uploaded to my regular images folder - root/images/

It took some time for my favicon to load up too.

So my theory is that there is a cron job that must be loading up logos and favicons occassionally based on your saved settings, but that those settings don't actually take effect until the scheduled cron. It appears that way in 6.1 anyway.

I also tried replacing the default logo logo.png First I tried the themes/garland/images/logo.png file.j This had no effect. The default was back to the drupal icon. So the system somehow preserved the image even though it had been changed.

It might be a cool thing for making sure no one slips porno onto your site somehow, so long as you can review temp files, if that's where they are going. but I'm only about 10% confident that the problem relates to a cron job, (probably half written). It just seems to exhibit that behavior.

The other possibility is that I had the file location wrong. Of course, why should the default logo be in a theme folder at all? It seems to be hidden somehow. The path the default drupal icon has for my site is http://www.example.com/default/files/color/garland-9c0ef6c4/logo.png . Well, there is no such folder as "default". This is obviously being created on the fly. What's curious is where it is stored.

Oh well. mystery still unsolved. I'll have to wait a few days to see if my changes go into effect. Meantime, I'll be working with 5.7.

As to the 5.7 … I actually got it to work, at least on my development server, after I copied my web files into my drupal folder. But alas, as soon as I changed my site info, suddenly it disappeared. Turns out it comes back if I change the Site Name back to Drupal. Of course, that won't do. I don't want the Drupal name on my site any more than I want the logo. Hmmmm.

Ahaaahhh! It WILL let me change the name, just not to anything longer than a few letters. The name "Drupal" is short. Now what will I do about the fact that my company name is long?

Supermarket Green News
SMGN works, but it isn't very explanatory.

And another ahaaaahhh! If I reduce the width of my window the logo disappears - obviously because its being squeezed down into a second line. Ahaaaaahhh!

Solution for Now: Use a different theme - the one I just installed works fine on the dev server anyway, probably because it uses smaller text. Give it a few days and it should be live so you can see!

Suggest a Project: try to find a module for long names that fits lengthy text into a screen by reducing Title and Motto font size for garland

James
Newbie here. Really all I want is to make fast web sites mostly, but with some power features and have the ability to customize, not just design, but processes, such as eCommerce features, and subscription based user levels.

 
 

Drupal is a registered trademark of Dries Buytaert.