Hi All.
I was searching it for many weeks
I am working on Magento Store, i have 2 domain on same website/same directory 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 ?
instead of changing logo file from admin panel.I can change logo img location directly like changing, assuming that will make easy to use two logos.
<img src="<?php echo $this->getLogoSrc() ?>"
to
<img src="http://mydomain.com/logo.png"
I want to show Logo1.png for www.firstdomain.com and Logo2.png for www.2nddomain.com