Long enrollment list

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.
Posts: 257
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Long enrollment list

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

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.
Niels Erik

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

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.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 1 guest