Add custom profile fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Robert Lyon |
Bug Description
Allow the adding of custom profile fields via a local/lib/
Have
PluginArtefactI
PluginArtefactI
PluginArtefactI
extend their PluginArtefactI
Have
ArtefactTypePro
extend the ArtefactTypeProfile equivalent
Have
ArtefactTypePro
To fetch info about which tab the custom field should go in and their order on the Content -> Profile page
Also added hooks for profile artefacttypes so that we can fetch custom info for
- getoptions() - get select options for field
- defaultoption() - get default value for field
- format_result() - to human readable info (useful for 'select' fields)
- usersearch_
- get_special_data() - in case data is not saved in the 'artefact' table fetch it from where it lives
Changed in mahara: | |
importance: | Undecided → Wishlist |
assignee: | nobody → Robert Lyon (robertl-9) |
milestone: | none → 17.04.0 |
status: | New → In Progress |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/7433