Change standard banners

How can I change the default banners, such as contact with us on the homepage?

Regards,
Jaron

3 answers

Profile photo of Jaron van Zwam 0.00 $tone August 10, 2009
Public

Thanks for your response.

This is the file:

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design_default
* @package Mage
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
?>

<div class="box">
<?php if (strtolower(substr($this->getLinkUrl(),0,4))===’http’): ?>
<a href="<?php echo $this->getLinkUrl() ?>">
<?php elseif($this->getLinkUrl()): ?>
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>">
<?php endif ?>
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>" alt="<?php echo $this->__($this->getImgAlt()) ?>" style="display:block;" />
<?php if ($this->getLinkUrl()): ?>
</a>
<?php endif ?>
</div>

What should be changed to remove the contact us banner?:

#2

This question is now closed

Written By

Comments