1
Ok I've been struggling with this and I need a hand from a clever soul.
I've set up phpads in XOOPS following the instructions on a site (I forget the link! It's in here somewhere!) Everything's hunkydory and i've uploaded banners and replaced the standard XOOPS banner and it works great, however...
I'm trying to follow the instructions to set up a banner ad in a custom block - the only reason I've installed php and I follow the instructions to the letter and nothing appears...
My banners are loading at the top of the page in the theme banner slot, however custom block shows, however is empty...
I've converted the code as per the instructions so it's:
echo"
"; require(getenv('DOCUMENT_ROOT').'/xoops2/modules/phpads/phpadsnew.inc.php');
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_id = view ('', 2, '', '', '0', $phpAds_context);
echo"";
To go in the custom block and I've set it to content type: php script etc...
However nothing appears?!
Can anyone spot the glaring mistake or offer any advice?!
Many thanks!