OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Long enrollment list

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

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

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Long enrollment list

Postby nef » Fri Aug 28, 2009 3:42 am

Hi,
When you, as a Journal Manager, want to enroll a person into a specific role, you first click on the relevant role link e.g. editor. On the bottom of the enrollment page you can choose between the following links:
Enroll an Existing User | Create New User | Sync Enrollment
Wouldn’t it be a good idea to have a fourth link - Users Enrolled in this Journal?
Here at the State and University Library/Denmark we’re managing several journals from a single OJS installation and gradually the enrollment list bocomes more confusing. If you have the possibility to choose the suggested link, you can avoid the long list. The same opportunity you have on Journal Management start page.
Regards
Niels Erik
nef
 
Posts: 240
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Long enrollment list

Postby jmacgreg » Mon Aug 31, 2009 7:45 am

Hi Niels Erik,

You should be able to add that link by editing templates/people/enrollment.tpl (you'll find the code near the bottom:

Code: Select all
<a href="{url op="enrollSearch" path=$roleId}" class="action">{translate key="manager.people.enrollExistingUser"}</a> |
{url|assign:"enrollmentUrl" path=$roleSymbolic searchInitial=$searchInitial searchField=$searchField searchMatch=$searchMatch search=$search dateFromDay=$dateFromDay dateFromYear=$dateFromYear dateFromMonth=$dateFromMonth dateToDay=$dateToDay dateToYear=$dateToYear dateToMonth=$dateToMonth searchInitial=$searchInitial}
<a href="{if $roleId}{url op="createUser" roleId=$roleId source=$enrollmentUrl}{else}{url op="createUser" source=$enrollmentUrl}{/if}" class="action">{translate key="manager.people.createUser"}</a> | <a href="{url op="enrollSyncSelect" path=$rolePath}" class="action">{translate key="manager.people.enrollSync"}</a>


However, you'll see a link at the top of the table called "All Enrolled Users" -- clicking that link will take you to the list of all users enrolled with the journal. You can move that link stuff from the template down to the other links to have all four links listed together. The text in the template is:

Code: Select all
<a href="{url path="all"}" class="action">{translate key="manager.people.allUsers"}</a>


We'll be implementing a UI overhaul after OJS 2.3 has been released, and chances are these links will be moved around/grouped for better usability regardless.

Cheers,
James
jmacgreg
 
Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest