moodle-checklist icon indicating copy to clipboard operation
moodle-checklist copied to clipboard

Change "Yes" "No" to alternatives

Open elektrosmart opened this issue 7 years ago • 2 comments

We love the plugin - it work very well for us. This is not really an issue, but I would like to change the options from "YES" or "NO" to something else, like "SATISFACTORY" "UNSATISFACTORY" - I have a sandpit site I'm happy to have a play with but any help would be appreciated. Cheers.

elektrosmart avatar Dec 04 '17 23:12 elektrosmart

You'd have to take a look through the code for get_string('yes') and get_string('no') and replace them with refrences to custom language strings of your own (e.g. get_string('yes', 'mod_checklist')) then add relevant entries to the plugin language file + purge caches.

davosmith avatar Dec 06 '17 13:12 davosmith

Hi, Thank you so much for taking the time to respond. I will have a play with it on our sandpit site.

Great plugin…

We use it for Employers to go in and validate their apprentice’s results in courses. We have two checks for each course – one linked to the course completion, which automatically moves to YES when the course is completed. The other is for the employer (linked to the apprentice with the Ned Mentor Plugin) who can then see the Apprentice results and confirm by checking their checklist box. The employer has a highly restricted “Teacher” profile which allows them to see their Apprentice’s result and Check their items on the checklist and that’s all. It works very well for us. We use the URL option so the employer can look at the specific course content from the training package. Thanks Jaimie

From: Davo Smith [mailto:[email protected]] Sent: Thursday, 7 December 2017 12:50 AM To: davosmith/moodle-checklist [email protected] Cc: elektrosmart [email protected]; Author [email protected] Subject: Re: [davosmith/moodle-checklist] Change "Yes" "No" to alternatives (#47)

You'd have to take a look through the code for get_string('yes') and get_string('no') and replace them with refrences to custom language strings of your own (e.g. get_string('yes', 'mod_checklist')) then add relevant entries to the plugin language file + purge caches.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/davosmith/moodle-checklist/issues/47#issuecomment-349645159, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYxrvYY_zqhSGvmFj4Z0_H6PK1vGHfvfks5s9puagaJpZM4Q1ek3.

elektrosmart avatar Dec 08 '17 07:12 elektrosmart