Reviewed: https://reviews.mahara.org/7656 Committed: https://git.mahara.org/mahara/mahara/commit/3c640c9efbe47df34f243b713b8dca2bc51bf1c9 Submitter: Robert Lyon (robe...@catalyst.net.nz) Branch: master
commit 3c640c9efbe47df34f243b713b8dca2bc51bf1c9 Author: Robert Lyon <robe...@catalyst.net.nz> Date: Thu Apr 20 07:17:36 2017 +1200 Bug 1684267: Adding new templates to the raw_old theme As well as adding some changes to raw_old that make sense to be there from these bugs: Bug 1681588 Bug 1451263 Bug 1675213 Bug 1674801 Bug 1661125 Bug 1658389 behatnotneeded Change-Id: I62042f1279ca96ac17c8e2fef11f60ecbcaf04c6 Signed-off-by: Robert Lyon <robe...@catalyst.net.nz> -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1661125 Title: Add custom profile fields Status in Mahara: Fix Committed Bug description: Allow the adding of custom profile fields via a local/lib/artefact_internal.php file that extends the ArtefactInternal one Have PluginArtefactInternalLocal::get_artefact_types() PluginArtefactInternalLocal::get_profile_artefact_types() PluginArtefactInternalLocal::get_contactinfo_artefact_types() extend their PluginArtefactInternal equivalents Have ArtefactTypeProfileLocal::get_all_fields() extend the ArtefactTypeProfile equivalent Have ArtefactTypeProfileLocal::get_desired_fields() 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_column_structure() - info about which column template to use for admin users search list for custom field - get_special_data() - in case data is not saved in the 'artefact' table fetch it from where it lives To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1661125/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp