Hi,

I don't know anything about PHP but my site has a ready made template with the following block of code which produces an image stored on my server and links to page on my site:

<block type="core/template" after="-" name="left.permanent.callout-2" template="callouts/left_col.phtml">
                <action method="setImgSrc"><src>images/media/col_left_callout-2.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>

Instead of doing this am trying to use the following code which uses an image on another website and links to another website.

<a href="http://mats.silvertap.com/Tracking/Tracking.aspx?t=2&a=6908&p=31&u=9214&i=2976"><img border="0" src="http://mats.silvertap.com/Tracking/Tracking.aspx?t=1&a=6908&p=31&u=9214&i=2976" /></a>

If tried just simply replacing the code but it doesn't work for some reason. Can anyone point me in the right direction here (I hope that I have provided all the information thats required).

Any help is much appreciated

<block type="core/template" after="-" name="left.permanent.callout-2" template="callouts/left_col.phtml">
                <action method="setImgSrc"><src>http://mats.silvertap.com/Tracking/Tracking.aspx?t=1&a=6908&p=31&u=9214&i=2976</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>http://mats.silvertap.com/Tracking/Tracking.aspx?t=2&a=6908&p=31&u=9214&i=2976</url></action>
            </block>

Is that what you tried?

I have tried a couple of ways (bearing in mind that I don't know PHP so it all looks like gibirish to me)

I tried the code you sent through but it didn't work

i think its xml... but I am really not sure

it is used in a Magento E-Commerce site

This article has been dead for over six months. Start a new discussion instead.