admins will be the only ones that enroll users for a course. I can't figure out how to send an email to the user's notifying them that they have been enrolled in the course. will also need an email sent to them and to the admin's when the user completes the course. can someone point me in the right direction? is Rules module the correct tool to accomplish this? thanks in advance

Comments

djdevin’s picture

Title: rules actions » Add support for rules
Component: Miscellaneous » Code
Assigned: Unassigned » djdevin

Yes you are on the right track. Currently there is no rules support in Course but let's use this ticket as a starting point.

For now you could use the course_signup module (that comes with Course) to enable signups for courses, and use the built-in functionality for confirmation emails for users and admins that comes with the Signup module.

I can add some support for Rules for enrolling and unenrolling, to start.

djdevin’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Fixed

Committed ab01a40

You should have an "After a user is enrolled in a course" and "After a user is unenrolled from a course" action you can use, which has the Node (course) and User available.

djdevin’s picture

Title: Add support for rules » Add support for rules on enroll/unroll
djdevin’s picture

Title: Add support for rules on enroll/unroll » Add support for rules on enroll/unenroll

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

voja_’s picture

Issue summary: View changes

I'm trying to create a rule so that when a user account is created (i.e. they first register), they are auto enrolled in a particular course based on their auto-assigned role. I can see in rules that these options you created are available, but can't figure out what to enter in the action for the Node data selector as my options appear to be very limited. If I try to put in 'node' or 'course' I get the message that 'Data selector xxx for parameter node is invalid.'

I'm bit of a noob with rules, so maybe missing something simple :S

  • Commit ab01a40 on 7.x-1.x, 7.x-1.x-fieldable-entities, course-object-entity-view by djdevin:
    #1865178: add rules events on enroll/unenroll, to start