OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



2 custom review form problems...

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

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.

Re: 2 custom review form problems...

Postby ramon » Thu Nov 18, 2010 9:21 am

Hello solty,

You will need to edit your locale files.
Enable the Translation Plugin and, as System Administrator, you will have access to all locale(translation) files.
Search for the following key: author.submit.commentsForEditor
That is the translation key used for the text you are looking for.

The trick is finding the key to search for in the Translation Plugin, as it does not support text search, only XML key values.
With access to the server via command line (SSH), you may run a "grep" command, with appropriate options, to look for a specific text within the OJS code base.
This will help you find the appropriate file to edit, be it a code or translation file.
Disregard any results found in the cache/ folder, as they are always temporary.

The key is found in ojs2/locale/language_CODE/author.xml for OJS 2.3.3-3.
If you have access to the server it may be easier to edit the file manually, but you will have to care for your connection's charset, which should be UTF-8 or whatever you have defined for the server and OJS configuration.
ramon
 
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: 2 custom review form problems...

Postby solty » Fri Nov 19, 2010 12:52 am

Hi Ramon,
Many thanks for your explanations.
Sincerely,

Solty
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: 2 custom review form problems...

Postby jayfitzsimmons » Tue Dec 06, 2011 11:02 pm

solty wrote:Hi Again,
I was find another tpl's

/httpdocs/journal/templates/manager/reviewForm
Changed...
beST,


Solty (or anyone else who knows), which .tpl file(s) did you alter to get reviewers' forms to have bigger text boxes? They, along with the "Comments for the Editor" box during manuscript submission, are very small by default. I know they can be stretched larger by users, but it would be nice if the default text box size for these boxes were bigger. I looked into the directory you specified but there are several .tpl files there and I can't figure out which file to edit and what text of it I should edit. Thank you for whatever help you can offer.

Jay
jayfitzsimmons
 
Posts: 78
Joined: Sun Aug 08, 2010 12:50 pm

Re: 2 custom review form problems...

Postby ramon » Wed Dec 07, 2011 6:45 am

Hello Jay,

One of the things I would suggest PKP developers is to remove hardcoded html object attributes, allowing more flexibility with CSS.
This way, theming could be more complete.
You should start by looking at:
  • ojs2/templates/manager/reviewForms

I think that's the only place for editing review forms, but I may be mistaken.
Looking at the URL given, you will have a sense of where to look in OJS's folder structure and what file is being used.
ramon
 
Posts: 945
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Previous

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest