Dear All,
This is essentially the same question as in https://moodle.org/mod/forum/discuss.php?d=121758 but for Moodle 2.4. This was a hack applicable to version 1.9 and involves a work-around using the get_my_courses function available in 1.9.
My question is whether the idea could still be used with the enrol_get_my_courses function that replaced get_my-courses in 2.4 and how can one check if a course has one sub-category, two and so one.
Also, what would be the best approach - if I create PHP code that fetches this information where should the code go?
Regards,
George