Hi Andreas,
a course module always belong to a course even if it is on the frontpage.
So if you have the context of a course module you could just call its method "get_parent_context()".
Best regards
Andreas
Hi Andreas,
a course module always belong to a course even if it is on the frontpage.
So if you have the context of a course module you could just call its method "get_parent_context()".
Best regards
Andreas