OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Editing

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.

Editing

Postby rgillis » Thu Aug 08, 2013 8:20 am

Hi there,

I run several journals on one instance of OJS. One of the journals would like to remove the step from the reviewer process whereby the reviewer is able to upload their version of the document. I've found through another thread that I am able to remove this step by commenting it out on the templates/reviewer/submission.tpl file. This of course will affect all of the journals on our instance, which I don't want. Is there the potential to edit these .tpl in such a way that changes would take affect in only one particular journal?

Any insight would be appreciated.

-Roger
rgillis
 
Posts: 21
Joined: Wed Sep 14, 2011 1:09 pm

Re: Editing

Postby asmecher » Thu Aug 08, 2013 9:02 am

Hi Roger,

You can use Smarty's conditional statements to make edits that are journal-specific, i.e.:
Code: Select all
{if $currentJournal->getPath() == 'myJournalPath'}
    {* The code within this conditional block will only be executed for the journal with "myJournalPath" as its path *}
{else}
    {* This code will be executed for all other journals *}
{/if}
Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9049
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot], JoannaBG and 6 guests