Suggestion
Posted: 18 Jun 2013, 12:56
Hi Jan,
To help those developers who want to integrate with Phoca PDF, there should be one more error handling case in phocapdfrender.php around line cca. 136.
Something similar:
Rgds
To help those developers who want to integrate with Phoca PDF, there should be one more error handling case in phocapdfrender.php around line cca. 136.
Something similar:
Code: Select all
default:
$dispatcher = JDispatcher::getInstance();
if (JPluginhelper::isEnabled('phocapdf',strtolower($t))){
JPluginHelper::importPlugin( 'phocapdf' );
$results = $dispatcher->trigger('onBeforeDisplayPDF'.$t, array (&$pdf, &$content, &$document));
} else {
return JError::raiseError('PDF ERROR', 'Phoca PDF - '.$t.' plugin is disabled or not installed');
}
break;