Hey Zab! I am using this to make a roster in PHP, however all of my output is appearing
above the header and not in the actual page box. Any advice?
Nevermind. I was able to edit the pages.php code and use output control functions to capture the output and place it properly.
Quote:
Originally Posted by SpikedRocker
This mod is broke beyond belief. I have a parse error that I can resolve when just having the content be print 'Hello World'; Even then it is placing this content above my header. I would push that this mod be graveyarded.
|
This was the same issue I had. Fix below:
In pages.php find:
PHP Code:
try
{
eval($pl['content']);
$view->output = $output;
$content = $view->output;
}
Replace With:
PHP Code:
try
{
ob_start();
eval($pl['content']);
$out1 = ob_get_contents();
ob_end_clean();
$content = $out1;
}