Whats the problem with this code?
This worked fine in 1.0, but now doesn't with 1.0.1. Anyone know how to fix it?
<?php
/*
Extension Name: Amazon Advert
Extension Url: http://lussumo.com/addons/
Description: Adds the Amazon Associate code into the panel
Version: 1.0
Author: Alex Marshall
Author Url: http://www.iambigred.com/
*/
$Panel->AddString("<li><h2>Amazon.co.uk</h2><ul><li><iframe src=\"http://rcm-uk.amazon.co.uk/e/cm?t=stcuthbesso0d-21&o=2&p=14&l=st1&mode=books&search=University&nou=1&fc1=CC0000<1=_blank&lc1=333399&bg1=&f=ifr\" marginwidth=\"0\" marginheight=\"0\" width=\"160\" height=\"600\" border=\"0\" frameborder=\"0\" style=\"border:none;\" scrolling=\"no\"></iframe></li></ul></li>", 50);
?>
0
This discussion has been closed.
Comments
Have you tried plain echoes to make sure it's still being included properly?
if(!isset($Panel)) return;