Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Adding image affiliate link in define mainpage


Recommended Posts

I have been using this forum for advice for a while and always seem to have found an answer without having to ask, but finally, I am stumped. There are several topics alluding to what I am trying to do, but none with a definite answer.

I am an affiliate member of an alternative site that I would like to link to. Placing the image/link at the bottom of the page is not ideal so I would like to place it into one of the boxes on my index page that I created when I installed the define mainpage contrib.

I have been given the code by my affiliate, but receive the following error when trying to include it in the box. Thanks to anyone who can offer any advice on this one.


Code from affiliate site: (actual site replaced with myaffiliate.co.uk):


<a href="http://www.MYAFFILIATE.co.uk/default.htm?WT.mc_id=c339&bid=67729&aid=CD127&opt="><img src="http://affiliates.MYAFFILIATE.co.uk/42/127/67729" alt="MY AFFILIATE NAME" border="0"></a>


error received is: (my site name replaced with mywebsitename.co.uk


Parse error: syntax error, unexpected '<' in /home/httpd/vhosts/mywebsitename.co.uk/httpdocs/includes/languages/english/define_mainpage.php on line 44


Any advice will be greatfully received. Thanks.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...