Hello everyone, I am creating a new block for a course.
In this block I have a link to another page inside my block "test.php". I am trying to set the layout of the course that I come from with $PAGE->set_pagelayout('course'); but I supposed I need the id of a course. is there a solution for this?
I checked https://docs.moodle.org/38/en/Block_layout but I will not have access to config.php of moodle in the future.
Thanks.