Can you add a custom logo to all Themes
Mark C - March 7, 2009 - 13:46
I am trying to add a custom logo to the Dreamy theme - www.contact.ie.
I have unchecked the "Use Default Logo" box.
I have used the "Upload Custom Logo" feature.
I have tried "Path to Custom Logo".
All have failed.
Here is the logo I wish to use: http://www.contact.ie/External/dreamy_logo.png

The theme has a header
The theme has a header section, what does that part of the page.tpl.php look like. There is no indication it is even trying to output a logo.
This is the Header php code
Regards,
Mark C.
From the garland theme the
From the garland theme the page.tpl.php needs something like
if ($logo) {print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
}
for the logo to show.
Div Id Header
Div id header now looks like this, but still no logo showing:
<div id="header"><?php if (strlen($site_name) > 0) { ?><h1 class='site-name'><a href="<?php print $base_path ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1><?php } ?>
<?php if ($logo) {
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
} ?>
<?php if (strlen($site_slogan) > 0) { ?><div class='site-slogan'><?php print $site_slogan ?></div><?php } ?>
<?php print $search_box ?>
</div>
Regards,
Mark C.
You have your logo path
You have your logo path defined so Drupal thinks it is at /http://www.contact.ie/sites/default/files/dreamy_logo.png So if you uploaded the file maybe files is not writable.
I've made things writeable
Thanks again for the help.
I've made the files writeable and nothing happened. I've also changed the custom path to:
http://www.contact.ie/External/dreamy_logo.png but still nothing has happened. Do I need to change my php in my header if I'm using the second option.
Mark C.
Regards,
Mark C.