The basic thing I'm trying to do here is change the course title that's displayed in the header, changing it to include the name of the current activity. How to do that in Moodle 2.5?
This is what I tried so far:
* From within the theme, I tried defining an init_page function that looks like it's supposed to be called from core_renderer. Can't get anything to work there at all.
* From within lib/outputrender.php printed out the page object with print_object but couldn't see any pattern or any obvious way of seeing what activity is available.
* Looking around the developer docs.
Thanks for any hints.