problem using a custom logo

dcdenison - June 7, 2006 - 11:09

I've got a custom logo, but I can't seem to get it into my theme. The upload seems to be working, but then it doesn't give me "a path to the custom logo". I've tried to guess -- files/logo.jpg? -- but that doesn't seem to work. Any suggestions? Is there a default location where the uploaded images go? 

Categories:

Did this bug get squashed?

joann@drupal.org - August 4, 2006 - 19:57

Hi, :)

Did this bug get squashed?

Tracked

Richard Eriksson - August 7, 2006 - 12:11
Richard Eriksson's picture

Not yet, unfortunately. We have it listed in our internal bug-tracking system so yes, it is something we'd like to fix.

print $logo

Richard Eriksson - June 7, 2006 - 14:07
Richard Eriksson's picture

You shouldn't need to know where it goes, actually. All you should need in your theme is something like:

<img id="logo" src="<?php print($logo) ?>" alt="Logo" /></a>

That should point to the correct location of the logo.

custom logo

dcdenison - June 8, 2006 - 09:17

thank you very much for the suggestion, but that seems to be more than I need. I was just hoping to insert a logo into an existing theme, using the directions below -- geared to low tech users like myself. But I can't seem to get it to work -- am I missing something?

thanks again...

Logo image settings

This group of settings gives you the option of using the logo that came
with the theme, a logo that is already located on your server, or you
can upload a logo to the site.

  • Use the default logo means that the logo supplied with the theme will be used. This overrides the following settings.
  • Path to custom logo: is the relative path to the
    logo that you wish to display. Use this if you have a logo that was not
    supplied by the theme but already exists on the server. The path is
    relative to the URL of your Drupal site.

    • For example: if your site's URL is http://www.example.com/drupal/ the path will be relative to /drupal/ and if your site's URL is http://www.example.com/ the path will be relative to the root of the site.
  • Upload logo image: just as it says, it means you can transfer a graphic file from your computer to the server.
    1. Click the Browse button and file the file.

    2. Click the Upload button beneath the text box. Drupal will insert the correct path to the logo.

Bug

Richard Eriksson - June 8, 2006 - 14:28
Richard Eriksson's picture

Ah I see what you mean. It's a bug in our system that we're trying to track down. Tell you what, though, can you let us know the URL of the site you're working on and send us the logo (you'll probably directly via email to support [AT] bryght [dot] com)? We'll be able to place the logo in the right place so it shows up on your site.

Still an issue

Richard Eriksson - November 16, 2006 - 14:30
Richard Eriksson's picture

Send the logo you have to the support {AT} bryght {dot} com email address with the address of your site, so that I can upload it for you, as this is still an issue affecting sites.

custom logo

dcdenison - June 10, 2006 - 05:27

cool! I'll send you the logo and the site URL on Monday. Also I'd be happy to help write the documentation, once the bug is squashed.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Creative Commons License

This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License. This license applies to all text written by Bryght. All others retain full copyright to their text.