Different logos on different pages

Permalink
I'm new to this so simple is best. I'm working with the Acme theme. I have one logo for the header for the main home page. I would like to use a different logo as the header for a subpage. How would I do this?

 
12345j replied on at Permalink Reply
12345j
In acmes header.php or default.php there should be a line
<h1><a href="<?php      echo DIR_REL?>/"><?php     
            $block = Block::getByName('My_Site_Name');
            if($block && $block->bID) $block->display();
            else echo SITE;?></a>
         </h1>
or something similar to that. You want to delete this and replace it with
<?php
    $a = new Area('Site Name');
    $a->display($c);
?>

This will make the logo an editable area.
mdoby replied on at Permalink Reply
Hmm that doesn't seem to be working. When I replace the code nothing changes. Perhaps it's in the wrong place. There doesn't seem to be any Acme folder.
12345j replied on at Permalink Reply
12345j
acme should be in root/packages/theme_acme/themes/acme (or something like that. In either header.php or default.php there should be something this
<h1><a href="<?php      echo DIR_REL?>/"><?php     
            $block = Block::getByName('My_Site_Name');
            if($block && $block->bID) $block->display();
            else echo SITE;?></a>
         </h1>
but if its in default.php you'll also want to put it in two_column.php, full.php, and three_column.php. you don't need to do this if its in elements/header.php because all of those templates load it automatically.
tallacman replied on at Permalink Reply
tallacman
Caution: This solution is leading to an unclosed H1 in Merediths installation. IE will not close the H1 as most error compliant browsers do. The best practice will be to create a new area for the logo and hide the H1 site name with CSS.

Steve
12345j replied on at Permalink Reply
12345j
I haven't seen that in any other themes. Do you know what is happening to acme so that I can try to avoid it with mine?