adding a field to the database

OCS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael

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: 1
Joined: Mon Jul 29, 2013 12:17 pm

adding a field to the database

Postby stothekmo » Mon Jul 29, 2013 12:21 pm


On my OCS project in the user registration page, where they register for a new account. I added a field, similar to the affiliation field. I then changed the XML so it has access to the name. I changed the templates and the classes. I added a field in my database. The program now works but it's not adding the new field into my table in the database.

Please direct me to the files to be changed to add this data as one of the columns for my database

Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: adding a field to the database

Postby asmecher » Mon Jul 29, 2013 2:07 pm

Hi stothekmo,

Can you post the code? It's hard to know what's happening without more information.

Alec Smecher
Public Knowledge Project Team

Return to “OCS Development”

Who is online

Users browsing this forum: No registered users and 0 guests