New to plugin development - I'm wanting to add some HTML to every page that Moodle loads (looking to do some context based styling). I have started a local plugin and from what I've read whatever is in the lib.php will load on every page. So I have two issues:
- Lib.php is only being loaded in admin pages (because I have require_once("$CFG->dirroot/local/myplugin/lib.php"); inside the settings.php), how do I make it every page?
- How do I add HTML to be rendered inside the <head></head> tags?