General developer forum

overriding some 'renderer_base' methods.

 
Picture of Hossein Poursaeedi
overriding some 'renderer_base' methods.
 

Hello Guys,

May i know can i  override methods in renderer_base.
let say in the admin section header , i want to change some $OUTPUT datas in my extend boost template. for example in the template , we print out 

{{{ output.page_heading }}} which is belong to renderer_base object. if i wanna change images or add extra details, i need to override this class.
for instants changing user image with site image or remove it  need to change 
$contextheader = new context_header($heading, $headinglevel, $imagedata, $userbuttons);

Thanks

 
Average of ratings: -
Picture of Hossein Poursaeedi
Re: overriding some 'renderer_base' methods.
 

i thinks the top header card is come from method full_header() based on core_renderer (boost) ,in this case can override in new extended theme , but how about anything in renderer_base like page_heading  ??

 
Average of ratings: -