In previous versions of Moodle, I have been able to adjust the /course/lib.php file to include other library files to allow the display of resources within the course page itself (like the old accordion plugin in 1.9 - although I've been rewriting it for 2+) in the print_section part of the code. I then used the $mod information in the resource and pulled through certain information in the page (like $mod->id, $mod-name etc..).
In 2.5, this has been completely rewritten and I'm struggling as to how I get the $mod info pulled from lib.php (or is it actually from renderer.php now?) into my resource. I can get the existence of the resource to show, but not the info inside.
Anyone have any suggestions/help?