Andy wrote:
Ok, so what you need to do - is add 2 new fields: 1) CleanURL CHAR(255) "Text" type field
2) ImageURL CHAR(255) "Text" type field
Then, when adding a link - you would enter the affiliate URL (i.e what they click on), in the "URL" field. Then, the CleanURL would be what you want to show them. Finally, if you have an image that needs showing - the image URL would be put in ImageURL.
The, in link.html - find stuff like:
Code:
<%URL%>...and change to:
Code:
<%if CleanURL%><%CleanURL%><%else%><%URL%><%endif%>Then, wherever you want the image to show - have:
Code:
<%if ImageURL%><img src="<%ImageURL" /><%endif%>That simple.
Cheers
The ImageURL code was place into the home page and the image didn't showing up.
Any ideas?
http://www.hopeforyou.com