Adding Fields to the Person Form - 3.1: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
=Pre-Requisites=
In this tutorial, we will look at adding a new fields to the person form to version 3.1 of iHRIS Manage. We will add two fields, one called "Favorite Color" which will be a drop-down list of values, and one will be "Favorite Animal" which will be a free-text field.  There are many ways to skin my favorite animal, a cat.  Likewise, there are many ways to add a field to a form.  In order to better maintain the code and the customizations we are making, we will do so by creating a sub-module ''My_ManagePerson'' of our site-module which contain the all of our changes.  To look at a similar customization, look at [[http://bazaar.launchpad.net/~ihris%2Bcssc/ihris-manage/3.1-central/files/head%3A/modules//Person/ CSSC]]'s customizations.
Please read over the following articles.
 
==Pre-Requisites==
Please read over the following articles:
* [[Technical Overview: Module Structure]]
* [[Technical Overview: Module Structure]]
* [[Technical Overview: Configuration (Magic) Data ]]
* [[Technical Overview: Configuration (Magic) Data ]]
==Creating a New Module==

Revision as of 13:37, 10 March 2009

In this tutorial, we will look at adding a new fields to the person form to version 3.1 of iHRIS Manage. We will add two fields, one called "Favorite Color" which will be a drop-down list of values, and one will be "Favorite Animal" which will be a free-text field. There are many ways to skin my favorite animal, a cat. Likewise, there are many ways to add a field to a form. In order to better maintain the code and the customizations we are making, we will do so by creating a sub-module My_ManagePerson of our site-module which contain the all of our changes. To look at a similar customization, look at [CSSC]'s customizations.

Pre-Requisites

Please read over the following articles:

Creating a New Module