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

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: No registered users and 2 guests