custom_area plugin project

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

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: 18
Joined: Wed Mar 17, 2010 8:19 pm

custom_area plugin project

Postby jojovem » Sat May 22, 2010 11:46 am

Hi, im building a simple Plugin for OJS to change the way it treats the area choosing when submitting an article, or when editing or inserting a reviwer particulary in its reviewing interests. The basic idea is to make a manageble selection list to add areas one by one, following the idea:

Add the areas that this article is bound to:
Areas:_____________ { SELECTION LIST } (ADD|RESET)

So the user is capable to add areas one by one by adding with the add button, and if he makes one mistake he can just simply reset and do it again. I will not make a remove button because i need this plugin to be ready asap.

Im not very good in OJS plugin development but ill try to explain myself as good as possible so you can help me find the right methods or functions to call.

The Plugin will need to replace the original template only in the field that regards to article area or reviewing interests.
We will need a php file that inserts into the tpl file the areas that have been recorded into the database.
We will need to add a menu link in the journal manager so the user can easily add/remove/edit areas that are recorded into the database.

So here come my questions:
1- How do i change only one field that belong to an existing OJS form?
2- I need to record the table areas in the database areas(Auto AreaID, VARCHAR area), how do i create this table using OJS so i can pull the information also from it?
3- Is there a plugin that makes a simillar thing so i can study it?

Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 1 guest