tags:

views:

48

answers:

2

I've installed some theme, which has header logo defined in header.phtml like this:

<img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" />

I don't really want to alter this template, also in that .phtml file it says not to edit it. How can I override this getLogoSrc most efficiently?

A: 

Go to your template's images folder e.g.: /skin/frontend/default/new_theme/images/

and replace the logo image in that folder with your new Logo

lock
In the skin, the image is in .gif format, my logo is in .png, I know I can rename it or even hard code template, but I want to know the proper way of how/where to redefine `logo_src` var without changing template code. So again, not looking for quick solution.
Michael
+2  A: 

In the web admin, go to System>Configuration>Design and scroll down to Header>Logo Image Src. Insert the filename that you have saved in /skin/frontend/default/new_theme/images/ and click Save.

Jonathan Day
ah, how could I missed that. Thanks!
Michael
@Michael - don't worry, there are a million different configuration options to get lost in!! FYI, Stack Overflower Alan Storm has a neat extension for finding them: http://alanstorm.com/magento_configuration_search
Jonathan Day