Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
OJS development discussion, enhancement requests, third-party patches and plug-ins.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
Developer Resources:Documentation: The
OJS Technical Reference and the OJS
API Reference are both available from the
OJS Documentation page.
Git: You can access our public Git Repository
here. Comprehensive Git usage instructions are available on the
wiki.
Bugzilla: You can access our Bugzilla report tracker
here.
Search: You can use our
Google Custom Search to search across our main website, the support forum, and Bugzilla.
Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a technical support question, try the
OJS Technical Support subforum.
by MartinEve » Tue Sep 13, 2011 2:01 am
Hi,
I'm having some problems with multiple plugins registering for the same hook. If I enable the xmlGalley plugin, my subsequent attempt to hook ArticleGalleyDAO::insertNewGalley fails. To be clear: this works if I disable the other plugin that hooks this, but not when both are enabled. Any ideas?
-
MartinEve
-
- Posts: 11
- Joined: Sun Jul 10, 2011 6:33 am
by asmecher » Tue Sep 13, 2011 9:12 am
Hi MartinEve,
Hooks can be chained, but the first hook callback to return a "true" will interrupt the hook call and prevent subsequent registrants from being called. Double-check to see whether or not the hook callbacks are returning true or not.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5748
- Joined: Wed Aug 10, 2005 12:56 pm
-
by MartinEve » Tue Sep 13, 2011 12:38 pm
Hi Alec,
Hmmm, in that case, I'm pretty sure that's what's happening. Isn't that a bit of a design flaw?
Best,
Martin
-
MartinEve
-
- Posts: 11
- Joined: Sun Jul 10, 2011 6:33 am
by asmecher » Tue Sep 13, 2011 1:54 pm
Hi Martin,
There are some known problems with the XML galleys plugin, unfortunately, and it is in need of some rewriting. It's not widely used, so we haven't been able to prioritize it for attention yet.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5748
- Joined: Wed Aug 10, 2005 12:56 pm
-
by MartinEve » Tue Sep 13, 2011 10:32 pm
Thanks again for the reply. In that case, I'll have a look at doing some work on the plugin myself; will keep you posted on progress

-
MartinEve
-
- Posts: 11
- Joined: Sun Jul 10, 2011 6:33 am
Return to OJS Development
Who is online
Users browsing this forum: No registered users and 1 guest