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

Popular posts from this blog

java - pagination of xlsx file to XSSFworkbook using apache POI -

Unlimited choices in BASH case statement -

apache - How do I stop my index.php being run twice for every user -