You are viewing the PKP Support Forum | PKP Home Wiki

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

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/RegistrationForm.inc.php.I 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: 108
Joined: Wed Mar 31, 2010 11:58 pm
Location: delhi

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 http://www.google.com/cse?cx=0020153632 ... 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.

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

Return to OJS Development

Who is online

Users browsing this forum: Google [Bot] and 0 guests