General developer forum

Boost's child theme Can't Override header.mustache

 
Picture of hongly va
Boost's child theme Can't Override header.mustache
 

Hi,

I'm using moodle V3.6.

I've created new theme extend from Boost theme.Here is my core_renderer.php  :

     class theme_child_core_renderer extends \theme_boost\output\core_renderer {
          public function full_header() {
          global $PAGE;

         $header = new stdClass();
         $header->settingsmenu = $this->context_header_settings_menu();
         $header->contextheader = $this->context_header();
         $header->hasnavbar = empty($PAGE->layout_options['nonavbar']);
         $header->navbar = $this->navbar();     
         $header->pageheadingbutton = $this->page_heading_button();
         $header->courseheader = $this->course_header();
         return $this->render_from_template('theme_child/header', $header);
          }
     }

And in my  column2.php i used  {{{ output.full_header }}} but it still display boost header.mustache .
Any suggestion ?
Any help much apprenticed,

Thanks,

Hongly


 
Average of ratings: -