I'm trying to develop a theme based on boost where I can choose settings like preset, backgroundimage and etc by course, but when I try to recover a courseid inside the function pluginfile of my theme I can't retrieve the actual course id. When I use the global $PAGE variable he always return id from the first course (which means, the site)...
There's any way I can retrieve de current course that the theme are been loaded wihtout $PAGE or $COURSE globals ? Have anyone tried this ?
Thanks in advance.