PDA

View Full Version : new fields


minsc_tdp
02-21-2008, 05:44 PM
Is there a complete documentation set somewhere that explains how to add new fields?

Say I wanted to add a "country" dropdown. This would need to appear everywhere with an equal importance as "email address", such as in emails, staff pages, etc.

It seems like there are a lot of PHP files to edit to make this happen, as well as the database changes. Anyone done this and documented exactly how to do it? It's great that this is open source, but would be wonderful if there was an abstraction layer for the field definitions to avoid all that work just to add one field.

peter
02-22-2008, 12:24 PM
Unfortunately all fields are hard coded at the moment. You "almost" have to be a coder to add a new field. That said, we are looking into making the form dynamic and configurable in the future (It is on TODO list).

minsc_tdp
02-22-2008, 06:39 PM
I'm a great Perl coder but not so hot at PHP. Could you guys write up a basic overview of what scripts would need to be edited, and just give a few pointers?

Corey
02-22-2008, 07:03 PM
I'm a great Perl coder but not so hot at PHP. Could you guys write up a basic overview of what scripts would need to be edited, and just give a few pointers?

Hey,

From what I understand they will have an osTicket API probably by v1.7.