Replace default handler

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

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Szdnez
Posts: 17
Joined: Tue Oct 20, 2009 12:48 pm

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

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

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


Return to “OJS Development”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest