How to customize PhocaPDF to work with non-article content
Posted: 13 Dec 2011, 07:16
Is there a how to available that explains how to extend PhocaPDF to work with non-article content (such as custom components) similar to the plugin/extension you have created to integrate PhocaPDF with VirtueMart? I've tried reading through the various PhocaPDF files to figure this out on my own; however, all that did was re-emphasize the fact that my PHP skills are not close to what they need to be to do this. I have not looked at the VM code since I am not using VM on my site, but will try to look through it to see if there is anything in there to help. Any help would be greatly appreciated.
For completeness, when I added the code that had to be added to the article view files to the view files of the view files of the component, I get "Fatal error: Class 'ContentHelperRoute' not found in ../administrator/components/com_phocapdf/helpers/phocapdf.php on line 61" when I view the page. PhocaPDF version is 2.0.4 running on Joomla 1.7.3.
For completeness, when I added the code that had to be added to the article view files to the view files of the view files of the component, I get "Fatal error: Class 'ContentHelperRoute' not found in ../administrator/components/com_phocapdf/helpers/phocapdf.php on line 61" when I view the page. PhocaPDF version is 2.0.4 running on Joomla 1.7.3.