Hi

I was searching it for many weeks
I am working on Magento Store, i have 2 domains i want to show different logo on each domain.
In header file, logo is shown by this code

      <?php if ($this->getIsHomePage()):?>
        <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
        <?php else:?>
        <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
        <?php endif?>

i found 1 year old topic here
http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/429391/change-logo-image-based-on-domain#
I dont know how to adjust this code into this existing code. can any one help about it ?

I can change logo img location directly like changing

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

to

<img src="http://mydomain.com/logo.png"
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.