OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



E-mail to Editor on Submission

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.

E-mail to Editor on Submission

Postby ianm » Wed Dec 07, 2005 9:59 am

I have searched but been unable to find any information on this. Can the Editor be sent an e-mail whenever a new submission is made (even just a copy of the e-mail to the author acknowledging submission)? This would prompt them to visit the website and start work on the new paper.

Can the code used to send the author's e-mail be amended? If so, which file controls it?

Thanks

Ian
ianm
 
Posts: 28
Joined: Sat Aug 06, 2005 3:15 am

Postby asmecher » Wed Dec 07, 2005 1:05 pm

Hi Ian,

This feature isn't currently available in OJS, but it's trivial to add -- look at classes/author/form/submit/AuthorSubmitStep5Form.inc.php at approximately line 89. The following call adds the author to the email's recipient list:
Code: Select all
$mail->addRecipient($user->getEmail(), $user->getFullName());

You'd simply have to add something like the following, just before or after the above line:
Code: Select all
$mail->addRecipient($journal->getSetting('contactEmail'), $journal->getSetting('contactName'));

This would add the journal's primary contact (as per Journal Setup, page 1) as a recipient.

In general, if you want to find the code that's responsible for sending an email, the easiest approach is to find the email's key. Look in the Journal Manager's email management page, find the email you want to track down, and make a note of the key (e.g. COPYEDIT_ACK). Now search the code for that key, and you'll find something similar to what I've noted above.

Regards,
Alec Smecher
Open Journal Systems Team
asmecher
 
Posts: 8869
Joined: Wed Aug 10, 2005 12:56 pm

Postby ianm » Thu Dec 08, 2005 4:25 am

Thank you, both for the specific fix and the general advice! I will try it out.

Ian
ianm
 
Posts: 28
Joined: Sat Aug 06, 2005 3:15 am

Editor Notification of Submission

Postby ramon » Fri Dec 09, 2005 8:45 am

Dear OJSers,

This feature was available in OJS 1.x, if you had assigned a General Editor.
All new submissions were then sent to this Editor automatically...
ramon
 
Posts: 931
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 4 guests