cng wrote:Did anyone find a sample of code needed to add additional custom fields? I also need these fields to show up in reporting for export. I am not a developer, so any help would be appreciated so I can pass the info along to my developers to tell them what to do for me. Thank you!
Additional custom fields, if done properly, is not a trivial coding effort. One needs to write a lot of code, and refactor existing parts (such as reporting, exports to csv / xml, migration between servers, etc.). Just to let you know that it touches a lot of other parts, which need to be taken care of. So, if you are doing it in house, I suggest that you start with the most recent code base and try to design a simple, generic solution, not forgetting about the above mentioned things, with hope to integrate it into the official project. Reporting is probably the most complex among them. Currently, the only custom field is done as a CustomFields.class.php in plugins dir, reflecting an early approach. Perhaps it needs to be re-designed, if you go from 1 custom field to, say, 3, 5, or 10, and wish to add additional types.