Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Different logo for every page - except index
 
medic
Sr. Member
 
Total Posts:  173
Joined:  2007-10-30
Sydney
 

I would like to Have a roll over image with a ‘home’ icon showing up on every page except the index page.. (obviously because you are
already there).

Do you know what code I would need to use?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mark_Kimsal
Sr. Member
 
Total Posts:  186
Joined:  2007-09-12
Michigan, USA
 

in every XML file except “page.xml” in your design’s “layout” folder, you need to add some tags to specify your new logo.  For example, in catalog.xml

<catalog_category_layered>
        <
reference name="header">
                <
action method="setLogo"><logo>foo.gif</logo><alt>new logo</alt></action>
        </
reference>
</
catalog_category_layered>

Do not add the tags under any “default” tag.  What this means is that on any page that is of type “catalog_category_layered” you want to run the “setLogo” command on the block named “header” (which so happens to be Mage/Page/Block/Html/Header.php)

 
Magento Community Magento Community
Magento Community
Magento Community
 
medic
Sr. Member
 
Total Posts:  173
Joined:  2007-10-30
Sydney
 

Thanks smile

I’ll give that a go.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top