redirect user to enrolment page after log in verification

redirect user to enrolment page after log in verification

by Hiral Mehta -
Number of replies: 0

Hello,

I am a new to Moodle LMS and trying to help a client who runs online courses on Moodle system.

I have 2 questions for now, and it would be very helpful if someone can show me direction.

The Moodle version we are using is 3.3.2

1) The system is set up in a way that after user is registered, they get verification email, once verified from email link, the page appears which says your registration has been confirmed and a button, that button leads to home page and we want that to redirect to course enrolment page where they see various payment options. Also for subsequent log in they should be redirected to the course page, right not its home page. So what should I add in lib.php or confirm.php for this redirection. Note that login verification plugin is installed.


2) There was only one course set up before. Now that I have added the second course, and also checked database, the user by default sees only first course under the top right drop down menu in 'my courses' link. How do I configure that block of user profile?


Thanks`



Average of ratings: -