OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Replace default handler

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, 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.

Replace default handler

Postby Szdnez » Tue Jan 12, 2010 2:56 pm

Hello,

is it possible to replace a registered handler? I want to replace the Article Handler with my own implementation. With that I want to place my own interstitial.tpl to solve the problem, that is described here.

Thanks
Szdnez
 
Posts: 17
Joined: Tue Oct 20, 2009 12:48 pm

Re: Replace default handler

Postby mcrider » Fri Jan 15, 2010 4:43 pm

Hi Szdnez,

You can do that, but you'll have to modify core code, e.g. replace calls to import('pages.article.ArticleHandler'); with the path to your new article handler. Its going to be difficult to do what you want to do without modifying the system, but that doesn't have to be such a bad thing :)

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 4 guests

cron