Need help with Zoo plugin for PhocaPDF
Posted: 30 May 2012, 19:47
Hi guys,
I've created a Zoo plugin for PhocaPDF, based on the EasyBlog plugin by StackIdeas.
The plugin installs fine, but then we ran into an issue, which required a change to PhocaPDF. This issue was found (and subsequently fixed) by Mark from the StackIdeas team.
At line 136 of /home/yoo/public_html/dev/administrator/components/com_phocapdf/helpers/phocapdfrender.php, Mark added this:
$dispatcher = &JDispatcher::getInstance();
JPluginHelper::importPlugin('phocapdf');
After that change, the plugin then works if you go to url.com/?format=phocapdf - so we're definitely a step closer.
The issue I've run into now is the customization options aren't showing up in the PhocaPDF admin. I can see a tab for Zoo below the Content tab, but the contents of the Zoo tab simply reads:
"Plugin doesn't exist or there is no plugin installed"
I've checked the plugin and it is actually published, so I can only image the issue lies somewhere else.
I've uploaded a copy of the plugin to my box account, in case you guys want to take a peek.
https://www.box.com/s/2de941385a50b1927324
The development is being sponsored by Yoolingua.com and they're planning on contributing the plugin back to the Phoca Community once we have it all working nicely.
We've got our development site online, with Zoo and PhocaPDF setup, so if you need a testing environment, simply get in touch and I'll send you all the logins
Thanks in advance!
Chris
I've created a Zoo plugin for PhocaPDF, based on the EasyBlog plugin by StackIdeas.
The plugin installs fine, but then we ran into an issue, which required a change to PhocaPDF. This issue was found (and subsequently fixed) by Mark from the StackIdeas team.
At line 136 of /home/yoo/public_html/dev/administrator/components/com_phocapdf/helpers/phocapdfrender.php, Mark added this:
$dispatcher = &JDispatcher::getInstance();
JPluginHelper::importPlugin('phocapdf');
After that change, the plugin then works if you go to url.com/?format=phocapdf - so we're definitely a step closer.
The issue I've run into now is the customization options aren't showing up in the PhocaPDF admin. I can see a tab for Zoo below the Content tab, but the contents of the Zoo tab simply reads:
"Plugin doesn't exist or there is no plugin installed"
I've checked the plugin and it is actually published, so I can only image the issue lies somewhere else.
I've uploaded a copy of the plugin to my box account, in case you guys want to take a peek.
https://www.box.com/s/2de941385a50b1927324
The development is being sponsored by Yoolingua.com and they're planning on contributing the plugin back to the Phoca Community once we have it all working nicely.
We've got our development site online, with Zoo and PhocaPDF setup, so if you need a testing environment, simply get in touch and I'll send you all the logins
Thanks in advance!
Chris