Moodle

Conditional activities: support for Choice

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Conditional activities
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE

Description

I just installed 2.0 (so please forgive me if there is something I don't understand). I was looking to use choice as a conditional activity, but choice does not have a setting where it looks to see if a student has answered a choice. Rather, it appears, and I might be wrong, that students can only self report that they have completed a choice by clicking on the dotted check mark, not, as I would like, that students have actually made a choice.

Also, since one does not receive a grade in choice, it is harder/less reliable to make another activity dependent on choice completion.

Thanks for your feedback and attention to this.

Activity

Hide
Sam Marshall added a comment -

You are correct.

I implemented module-specific completion options for forum (and some other custom modules used here, OU wiki and OU blog) and there are predefined 'view' and 'receive grade' options which work for most modules.

However we are looking for community support to implement module-specific completion conditions for every other module, including Choice.

Otherwise these modules won't have module-specific completion conditions, even where those would obviously be a good idea.

If you have skills to implement this, or money to fund another developer to do it, please do

There is documentation on implementing custom completion conditions. If you can't find this I can dig up the link.

Show
Sam Marshall added a comment - You are correct. I implemented module-specific completion options for forum (and some other custom modules used here, OU wiki and OU blog) and there are predefined 'view' and 'receive grade' options which work for most modules. However we are looking for community support to implement module-specific completion conditions for every other module, including Choice. Otherwise these modules won't have module-specific completion conditions, even where those would obviously be a good idea. If you have skills to implement this, or money to fund another developer to do it, please do There is documentation on implementing custom completion conditions. If you can't find this I can dig up the link.
Hide
Sam Marshall added a comment -

OK, I am going back through old bugs and decided maybe I could spare the time to implement this. While doing it I also corrected some outdated code in the documentation which is

http://docs.moodle.org/en/Development:Conditional_activities_Adding_module_support

This change (attached) is not massive but it's not tiny either. I would like permission to commit it to Moodle 2.0 because I think it makes the completion system a bit more useful. (note - there is another change I want to commit too). Requesting +1 from somebody...

Show
Sam Marshall added a comment - OK, I am going back through old bugs and decided maybe I could spare the time to implement this. While doing it I also corrected some outdated code in the documentation which is http://docs.moodle.org/en/Development:Conditional_activities_Adding_module_support This change (attached) is not massive but it's not tiny either. I would like permission to commit it to Moodle 2.0 because I think it makes the completion system a bit more useful. (note - there is another change I want to commit too). Requesting +1 from somebody...
Hide
Petr Škoda (skodak) added a comment -

+1 on condition that you fix any reported regressions, thanks!

Show
Petr Škoda (skodak) added a comment - +1 on condition that you fix any reported regressions, thanks!
Hide
Sam Marshall added a comment -

thanks petr !

I just committed this - have tested so I think it should work.

Yes if there are any regressions, assign to me.

Show
Sam Marshall added a comment - thanks petr ! I just committed this - have tested so I think it should work. Yes if there are any regressions, assign to me.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: