Adding a new Field to Registration in ojs

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: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

Adding a new Field to Registration in ojs

Postby ushasharma84 » Wed Sep 08, 2010 12:49 am

I want to add a new field in registraion form in ojs-2.3.1-2 . I know I need to edit /templates/user/register.tpl
classes/user/form/ searched the forum for this but found file listing for OCS only. So I want to know list of other files i need to edit to add a field in registration form.
Secondly if i want to remove a field from registration form will it be okay if i remove it from tpl file and donot edit code in other files.

Thanks in advance

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

Re: Adding a new Field to Registration in ojs

Postby jmacgreg » Wed Sep 08, 2010 3:09 pm

Hi ushasharma84,

Regarding the first question: see ... vtsjhpgphc.

Regarding the second question: no, that shouldn't be a problem, unless the field is mandatory in which case you may run into errors.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 2 guests