Can't Upload Logo


Author Message
Gary

Posted: 4/20/2009
Quote message 

Hi all - we're trying to simply upload our own logo (PNG file) onto the header within Drupal itself. We are using Drupal 5. In the theme settings, we make sure LOGO is checked and then upload the logo picture. Nothing appears in the header at all. We can add this picture as a foreground program within Artisteer itself, but then it's not linked to the home page. Nothing shows up in either IE6, IE7 or Firefox 3. Any help would be great - thanks!

Gary
 
Elisa

Posted: 9/6/2009
Quote message 

I have the same problem, only with Drupal 6. I created a theme, put background and foreground photo, then configured theme by checking the enable logo box, uploaded my logo in drupal, and then....no logo appeared.

I see the fields for logo on the style.css, so it seems like this feature should be supported, but I can't make the logo appear? Is this a bug?
 
d

Posted: 9/8/2009
Quote message 

Artisteer currently does not support custom logos in Drupal. You will have to use the foreground picture if you want to put a logo and the theme options won't have any effect on changing the logo.

Artisteer supported the logo in Drupal earlier but they had to remove it because of bugs in their implementation.

I think they should warn people about this before they advertise Artisteer for Drupal.

It is really easy to do it yourself once you export your theme. You have to change few lines in the CSS and add a line in page.tpl.php files to get it working.


 
Larissa N.

Posted: 12/26/2010
Quote message 

Just in case anybody's still interested:

Show Logo in Drupal Theme generated by Artisteer:

Open page.tpl.php
Go to line 38

Into

<div class="art-Logo">
<?php
if (!empty($site_name)) { echo '<h1 class="art-Logo-name"><a href="'.check_url($base_path).'" title = "'.$site_name.'">'.$site_name.'</a></h1>'; }
if (!empty($site_slogan)) { echo '<div class="art-Logo-text">'.$site_slogan.'</div>'; }
>>HERE<<
?>
</div>


insert the following:

if ($logo || $site_title) {
print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
if ($logo) {
print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
}
print $site_html .'</a></h1>';
}


Check path to own logo in Theme Configuration: Must not start with "/". Thus, for example: "sites/default/files/logoname.png"
 
shawn

Posted: 1/18/2011
Quote message 

This is great, but I wish we didn't have to muck with template files each time we edit the template.....
 
Wescley Teixeira

Posted: 3/20/2011
Quote message 

It's important that Artisteer support Logo.

When we are browsing a website and this website has "I like this" (facebook's button) and we click on it, facebook get the Logo image, node title and part of the body text to show in inicial page, because both, Facebook and Drupal sites are made based on W3C standards.

If Artisteer creates an template that is not according W3C standards we all have problems...
 
osvaldo

Posted: 4/17/2011
Quote message 

in artisteer 3.0 , in page.tpl.php
replace

<div class="art-headerobject"></div>

by

<div class="art-headerobject">
<?php
if ($logo ) {
print '<h1><a href="'. check_url($front_page) .'" >
<img src="'. check_url($logo) .'" alt="'. $site_name .'" id="logo" />
</a></h1>';
}
?>
</div>

and in the file style.css
comment the next line code
/*background-image: url('images/header-object.png');*/





and enjoy the drupal theme generated with logo
 
Wescley Teixeira

Posted: 10/10/2011
Quote message 

Hi Osvaldo

Nice work, it works!

But my uploaded logo stays in the heather center. how do I change its position (for left or before site title)?

:-D
 
mina

Posted: 7/24/2012
Quote message 

the PNG always has problems. I recomment the GIF