i'm not sure if this has been asked or not, but framework does not appear to present a logo even where the logo has been selected in 'framework/configure'

Comments

andregriffin’s picture

in page.tpl, there is a section of commented-out php code. Remove the comment slashes to re-enable logo management within drupal. This is only for Framework 1.5 and later. I may enable it by default in a future release.

Here is what it should look like within <div id="header">:

print $header;

          // Prepare header
          $site_fields = array();
          if ($site_name) {
            $site_fields[] = check_plain($site_name);
          }
          if ($site_slogan) {
            $site_fields[] = check_plain($site_slogan);
          }
          $site_title = implode(' ', $site_fields);
          if ($site_fields) {
            $site_fields[0] = '<span>'. $site_fields[0] .'</span>';
          }
          $site_html = implode(' ', $site_fields);

          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>';
          }
        
zilla’s picture

thanks!

andregriffin’s picture

Status: Active » Fixed
Plipp’s picture

Title: not displaying logo? » thank you

a thought I had to modify the page.tpl.php, but then found this fix ! SUPER !

andregriffin’s picture

Title: thank you » Not displaying logo?

Well, technically, you did... ;)

Enjoy.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.