I made a php script to retreive some data from a rss feed wich seems to work fine outside joomla
I tryed this module.
copy/paste the copy into the module, change a few paths to incudes ect.
But when I turn evaluate php on my entire joomla just shows a blank white screen.
if I turn evaluate off the site is displayed
but inside the php module it start echo-ing raw code as soon as it finds the first ">" character in the code
$output='<link rel="stylesheet" type="text/css" href="../style.css">';
$output.='<script src="http://static.wowhead.com/widgets/power.js"></script>';
$output.='<table border="0" cellpadding="3" cellspacing="0">';
$i=0;
$end=0;
and this is what is displayed:
'; $output.=''; $output.=''; $i=0; $end=0; while ($i < count($data) and $end !=1) { $output.=''; $output.=''; $output.=''; $output.=''; $i++; if ($i >= $maxResults) { $end = 1; } } $output.='
'.substr($data[$i]['updated'], 5, 5).' '.$data[$i]['content'].'
'; $output = str_replace('obtained', '
and after that it does on printing the rest of the php code
Any clue ?