I have seen in other posts the suggested usage:
Code
This works but not for the right reason. Most (all?) of the time pnShowBlock echoes the output and returns nothing.
In pnRender's function.pnblockshow.php the following code
Code
ob_start();
pnBlockShow($module, $blockname, pnBlockGetInfo($block));
$output = ob_get_contents();
ob_end_clean();
pnBlockShow($module, $blockname, pnBlockGetInfo($block));
$output = ob_get_contents();
ob_end_clean();
clearly indicates the output is expected to be echoed, not returned.
My question: Are there any conditions that cause this function to return the output as opposed to echoing the output?
