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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 9201
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: Google [Bot], Yahoo [Bot] and 6 guests