You are viewing the PKP Support Forum | PKP Home Wiki

A kludge to filter out members from the editorial team

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.

A kludge to filter out members from the editorial team

Postby gsk3 » Sun Jan 15, 2006 11:27 am

If you want people to have certain powers but not to show up in the About:Editorial Team page (e.g. for a Journal Manager who should be able to see what's coming in, etc. like an editor but is not part of the team per se), try this:

in "includes/functions.inc.php", add
//Filter Name from filtered array passed by editorialTeam()
function filterNames ($name) {
return($name->getFullName()!="Bob G. Marley"); }
obviously change Bob G. Marley to whoever you want to filter.

Then in "pages/about/AboutHandler.inc.php", add
//Added to filter a name from the editorial team page (function is in functions.inc.php)
$editors = array_filter($editors,"filterNames");
just after "$editors = &$editors->toArray();" in the editorialTeam function.
Do the same thing for any section you want to filter from (e.g. section editors, etc., just change $editors to $sectionEditors or whatever as appropriate.

Hope this helps someone.
Posts: 17
Joined: Mon Jun 20, 2005 10:15 am

Postby asmecher » Mon Jan 16, 2006 11:32 am

Hi Ari,

FYI, the Editorial Board feature from OJS 1.x will be included in our next release, which is due at the end of January. This means you'll be able to fully customize a journal's masthead through the Journal Manager's interface.

Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 3 guests