|
Hey,
i want to change the link of the standard callout “our service ist available...” The Problem ist i dont know how i can set a “mailto:xy@test.com” link…
If i change the link “checkout/cart” the url will be like http://shopname/…
What do i have to change? I tried some things but nothing worked.
I hope some one could help me
thx
martin
catalog.xml
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml"> <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action> <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (800) DEMO-NUMBER.</alt></action> <action method="setLinkUrl"><url>checkout/cart</url></action> </block>
left_col.phtml
<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()) ?>" width="195" alt="<?php echo $this->__($this->getImgAlt()) ?>" style="display:block;" /> <?php if ($this->getLinkUrl()): ?> </a> <?php endif ?> </div>
|