OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Help needed with detailed modifications

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

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.

Help needed with detailed modifications

Postby Sherman » Sun Mar 19, 2006 4:09 pm

I hope I can customize the interface of OJS in two ways:
  1. Removing some options for reviewer recommendations (so it's only accept, revise, or reject)
  2. Eliminating the option for authors to upload supplementary files

Is either a possibility? And, if so, which files would I need to modify (and how)? I'd be very grateful for some advice! :?:
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL

Postby asmecher » Mon Mar 20, 2006 9:49 am

Hi Sherman,

Have you seen the OJS Technical Reference (http://pkp.sfu.ca/ojs/OJSTechnicalReference.pdf)?

To limit the reviewer recommendations, look at classes/submission/reviewAssignment/ReviewAssignment.inc.php in the getReviewerRecommendationOptions() function. If you remove the unwanted extra reviewer recommendations from this function, they won't be shown in the UI.

Eliminating supplementary file uploads by authors involves the following steps:
  • Remove the option from the Submit process.
    • Change pages/author/SubmitHandler.inc.php to skip the 4th step
    • Change templates/author/submit/submitHeader.tpl to remove the 4th step from the header
  • Remove the option to manage supplementary files from the Author's submission management pages
    • Comment out the supplementary file functions in pages/author/TrackSubmissionHandler.inc.php: addSuppFile, editSuppFile, etc.
    • Comment out the associated functions in the author's submission management templates (e.g. addSuppFile and editSuppFile in templates/author/submission/management.tpl)
Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby Sherman » Mon Mar 20, 2006 11:06 am

asmecher wrote:Eliminating supplementary file uploads by authors involves the following steps:...
  • Change pages/author/SubmitHandler.inc.php to skip the 4th step


Since the file is a bunch of functions, I'm not sure how to disentangle them... which ones do I delete?
Sherman
 
Posts: 60
Joined: Sat Dec 10, 2005 8:18 pm
Location: Tampa, FL


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests