OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Changing the URL label for authors in submission metadata

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.

Changing the URL label for authors in submission metadata

Postby barnhorst » Wed Jul 23, 2014 8:38 am

Hi all,

The conference director wants me to change the "URL" label in the author details for a submission's metadata (he wants it to be "URL (Optional)"). Where is this located? I would have expected to find it in the localization settings, but I haven't been successful at tracking it down.

Thanks for any help you can provide!

Regards,

Brad
barnhorst
 
Posts: 6
Joined: Thu Jun 12, 2014 9:34 am

Re: Changing the URL label for authors in submission metadat

Postby asmecher » Wed Jul 23, 2014 8:56 am

Hi Brad,

Looking at the step 3 submission form (templates/author/submit/step3.tpl), you'll see...
Code: Select all
<tr valign="top">
        <td class="label">{fieldLabel name="authors-$authorIndex-url" key="user.url"}</td>
        <td class="value"><input type="text" name="authors[{$authorIndex|escape}][url]" id="authors-{$authorIndex|escape}-url" value="{$author.url|escape}" size="30" maxlength="90" class="textField" /></td>
</tr>
This is the URL area (there are a couple others like it in the same file for various reasons). The locale key it's using is "user.url".

Searching the locale files for "user.url", I see it in lib/pkp/locale/en_US/user.xml (for English).

Since that key is used in other places than just the author submission process, your best option may be to introduce a new key for that specific use.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8597
Joined: Wed Aug 10, 2005 12:56 pm

Re: Changing the URL label for authors in submission metadat

Postby barnhorst » Wed Jul 23, 2014 9:05 am

Perfect! Thanks so much for your help!

Regards,

Brad
barnhorst
 
Posts: 6
Joined: Thu Jun 12, 2014 9:34 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests