Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Change link to left callout? 
 
equiplogistics
Member
 
Total Posts:  57
Joined:  2009-05-15
 

I have searched the forum and cannot find any information on how to do this?
Can anyone help, at the moment clicking on my left callout sends me to an empty cart.  I want to direct the user to a specific product which is on offer.

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Wouter (@MidoMedia)
Member
 
Avatar
Total Posts:  44
Joined:  2007-11-28
 

You can change the callouts in app/design/default/MY_SKIN/template/callouts/. There is no way to do it through the Admin, that I know of.

 
Magento Community Magento Community
Magento Community
Magento Community
 
developer0
Jr. Member
 
Total Posts:  6
Joined:  2009-07-01
 

In some themes (Classic Theme) the images are called directly from the layout using <action method="setImgSrc">. Check /design/frontend/interface(default)/theme(name)/layout/catalog.xml.

<reference name="left">
<block type="core/template" after="-" name="left.permanent.callout-1" template="callouts/left_col.phtml">
<action method="setImgSrc"><src>images/media/col_left_callout-1.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>blah blah</alt></action>
<action method="setLinkUrl"><url>checkout/cart</url></action>
</block>

 
Magento Community Magento Community
Magento Community
Magento Community
 
lividinstruments
Member
 
Total Posts:  64
Joined:  2008-10-03
 

Mine don’t seem to change when I edit that catalog.xml file. I am using a modified default design. Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
 
ronnyvid
Jr. Member
 
Total Posts:  6
Joined:  2010-08-06
 

mIne doesnt change either modifying the catlouge.xml.However i have modified the right and left call out located at /public_html/app/design/frontend/base/default/template/callouts.All the reference to these are pretty out dated coding from pre historic version of magento can anybody help.I have also the same problem with the footer .I have changed the code but no response.I am guessing there must be other code hidden somwhere else but thats a needle in a haystack search.Or i have to refresh the cache which i havent done and will do now.No luck even reindex the site so what NOW ARRRGH.

<div class="block block-banner">
<div class="block-content">
<?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
<a href="<?php echo $this->getLinkUrl() ?>” title="<?php echo $this->__($this->getImgAlt()) ?>">
<?php elseif($this->getLinkUrl()): ?>
<a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>” title="<?php echo $this->__($this->getImgAlt()) ?>">
<?php endif; ?>
<img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>” />
<?php if($this->getLinkUrl()): ?>
</a>
<?php endif ?>
</div>
</div>

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top