Hi,
I'm trying to figure out how can I know which is the section (just number: 0, 1, 2...) visible in course page using this course format. I can get "current" status if I set one section as current (using bulb icon), but I can get which is the visible topic/section.
When I change section using navigation links, then I can see a new parameter in url (section=0, section=1 and so on). But when user navigates to main course page, I don't get that parameter, so I can't use it to detect the visible section.
Is there any way I can get this info?
I need too to find out which is the section of one module or resorse, is there any function I can use?
Thank you in advance.