1

so I'm trying to add the logo to the topmenu.phtml but <?php echo $this->getLogoSrc() ?>, and <?php echo $this->getLogoAlt() ?> don't work (they return null/nothing)

Is there a way to call them from this template rather than the header.phtml?

1 Answer 1

5

Try this in your template

$logoSrc = Mage::getStoreConfig('design/header/logo_src');

$logoAlt = Mage::getStoreConfig('design/header/logo_alt');

$imageurl = $this->getSkinUrl($logoSrc);

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.