OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



"allowRegAuthor" for "about.onlineSubmissions"

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

"allowRegAuthor" for "about.onlineSubmissions"

Postby vlilloh » Thu Nov 08, 2012 1:56 am

Hi,

In templates/about/submissions.tpl, I think it would be very useful replace:

Code: Select all
<li>&#187; <a href="{url page="about" op="submissions" anchor="onlineSubmissions"}">{translate key="about.onlineSubmissions"}</a></li>

by

Code: Select all
{if $currentJournal->getSetting('allowRegAuthor')} <!-- NEW -->
  <li>&#187; <a href="{url page="about" op="submissions" anchor="onlineSubmissions"}">{translate key="about.onlineSubmissions"}</a></li>
{/if} <!-- NEW -->

and

Code: Select all
<div id="onlineSubmissions">
  <h3>{translate key="about.onlineSubmissions"}</h3>
  <p>
    {translate key="about.onlineSubmissions.haveAccount" journalTitle=$siteTitle|escape}<br />
    <a href="{url page="login"}" class="action">{translate key="about.onlineSubmissions.login"}</a>
  </p>
  <p>
    {translate key="about.onlineSubmissions.needAccount"}<br />
    <a href="{url page="user" op="register"}" class="action">{translate key="about.onlineSubmissions.registration"}</a>
  </p>
  <div class="separator">&nbsp;</div>
</div>

by

Code: Select all
{if $currentJournal->getSetting('allowRegAuthor')} <!-- NEW -->
<div id="onlineSubmissions">
  <h3>{translate key="about.onlineSubmissions"}</h3>
  <p>{translate key="about.onlineSubmissions.registrationRequired"}</p> <!-- NEW -->
  <p>
    {translate key="about.onlineSubmissions.haveAccount" journalTitle=$siteTitle|escape}<br />
    <a href="{url page="login"}" class="action">{translate key="about.onlineSubmissions.login"}</a>
  </p>
  <p>
    {translate key="about.onlineSubmissons.needAccount"}<br />
    <a href="{url page="user" op="register"}" class="action">{translate key="about.onlineSubmissions.registration"}</a>
  </p>
  <div class="separator">&nbsp;</div>
</div>
{/if} <!-- NEW -->

Otherwise, it would be confusing to those journals that don't accept submissions through the system (closed registration for authors), and in its guidelines for authors indicate that the submissions sent to the email.

Cheers.
vlilloh
 
Posts: 297
Joined: Thu Feb 07, 2008 3:35 am
Location: Murcia, Spain

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 5 guests