Reviewed: https://reviews.mahara.org/11186 Committed: https://git.mahara.org/mahara/mahara/commit/0ca96efc73b3b2a9120584cfe5a7d1c3ed06cb25 Submitter: Cecilia Vela Gurovic ([email protected]) Branch: master
commit 0ca96efc73b3b2a9120584cfe5a7d1c3ed06cb25 Author: Robert Lyon <[email protected]> Date: Wed Aug 26 12:59:54 2020 +1200 Bug 1892794: Allowing custom profile fields have custom titles Currently all profile fields title/label named via the artefacttype But if we want different titles in differnet contexts we can now do this by adding to our ArtefactTypeWhatever class something like public static function static_display_title() { if (... some condition ...) { return get_string('altoption', 'artefact.internal'); } return get_string('option', 'artefact.internal'); } Change-Id: I32cfdc821442a7ba8729d76a18e6ddc1f7a62c95 Signed-off-by: Robert Lyon <[email protected]> -- 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/1892794 Title: Allow local custom profile fields also be accessible via webservices Status in Mahara: Fix Committed Bug description: What is wanted: Have the mahara_user_external.php webservice function be able to set / fetch the information for local custom fields. Currently we have to hardcode in the extra fields in the _parameters() or _returns() functions It would be better if the local/lib/artefact_internal.php had a function to call to fetch webservice info for the local profile fields To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1892794/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

