CB with field plugins. The attached zip file contains patched files and an example of a field plugin. The files should replace the CB files with the same name.
This patch enables creating of additional field types as plugins.
A field plugin extends class cbFieldHandler and implements 3 methods
-getFieldValue for displaying field value on profile
-getFieldEntry for displaying field edit on profile edit
-prepareFieldDataSave to prepare user input for saving to database.
The patch is around 30-40 lines of code, if excluding comments and empty lines. No changes to DB required.
-Mikko
Attachment cb_fileld_plugins.zip not found