Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, John
Forum rules
What to do if you have a technical problem with OCS: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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.
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
OCS Conference Support and Discussion subforum; if you have a development question, try the
OCS Development subforum.
by ponsfrilus » Fri Apr 30, 2010 4:57 am
Hi guys,
does anyone have the list of possible variables which can be used in prepared email?
I think it would be a good thing to put the #id of a paper in the email's title to search more confortablely.
Last edited by
ponsfrilus on Fri Apr 30, 2010 5:20 am, edited 1 time in total.
-
ponsfrilus
-
- Posts: 44
- Joined: Fri Jun 05, 2009 7:46 am
- Location: Switzerland
by ponsfrilus » Fri Apr 30, 2010 5:13 am
-
ponsfrilus
-
- Posts: 44
- Joined: Fri Jun 05, 2009 7:46 am
- Location: Switzerland
by ponsfrilus » Fri Apr 30, 2010 5:16 am
Change ligne 1505 - 1506 from
- Code: Select all
'paperTitle' => $trackDirectorSubmission->getLocalizedTitle()
));
to
- Code: Select all
'paperTitle' => $trackDirectorSubmission->getLocalizedTitle(),
'paperId' => $trackDirectorSubmission->getPaperId()
));
In
/ocs23/classes/submission/trackDirector/TrackDirectorAction.inc.php to be able to use the var
{$paperId} in your prepared email.
Exemple:
Editorial decision on "{$paperTitle}" #{$paperId}
-
ponsfrilus
-
- Posts: 44
- Joined: Fri Jun 05, 2009 7:46 am
- Location: Switzerland
by ponsfrilus » Fri Apr 30, 2010 5:20 am
-
ponsfrilus
-
- Posts: 44
- Joined: Fri Jun 05, 2009 7:46 am
- Location: Switzerland
by ponsfrilus » Fri Apr 30, 2010 9:33 am
And fixed! Thanks!
- Code: Select all
--- a/classes/mail/PaperMailTemplate.inc.php
+++ b/classes/mail/PaperMailTemplate.inc.php
@@ -59,6 +59,7 @@
$conference = isset($this->conference)?$this->conference:Request::getConference();
$schedConf = isset($this->schedConf)?$this->schedConf:Request::getSchedConf();
+ $paramArray['paperId'] = $paper->getId();
$paramArray['paperTitle'] = strip_tags($paper->getLocalizedTitle());
$paramArray['conferenceName'] = strip_tags($conference->getConferenceTitle());
$paramArray['schedConfName'] = strip_tags($schedConf->getSchedConfTitle());
-
ponsfrilus
-
- Posts: 44
- Joined: Fri Jun 05, 2009 7:46 am
- Location: Switzerland
Return to OCS Technical Support
Who is online
Users browsing this forum: Google [Bot] and 1 guest