I have an activity with restricted access in my course. If a non-admin user enters the activity by entering the URL (/mod/quiz/view.php?id=**), they get redirected to the course page. Where can I edit the code so that the user gets redirected to another page (like my custom access denied page made with Static pages plugin)?
In reply to Andy Smith
Re: Redirect user to another page if an activity is unavailable
by Andy Smith -
Update: I found out that a restricted access activity can be hidden. How can I redirect the users to another if an activity is hidden?