php - Moodle standard_end_of_body function location? -
i'm trying customize rendering of standard_end_of_body(), can't seem find proper function.
i found abstract function in /lib/outputrenderers.php, not actual theme implementation. in code mentioned should in theme renderer, checked every renderer, themes mine based in (bootstrap , elegance), far, nada.
so i'm open suggestions!
thanks
in /theme/yourtheme/renderers/php
add this
class theme_yourtheme_core_renderer extends core_renderer { public function standard_end_of_body_html() { // optionally add parent html. $output = parent::standard_end_of_body_html(); $output .= 'my stuff'; return ($output); } alternatively, can add footer html setting additionalhtmlfooter
via site admin -> appearance -> additional html
or direct /admin/settings.php?section=additionalhtml
Comments
Post a Comment