简体   繁体   中英

How to customize my Moodle course header

echo $OUTPUT->header()

I found this code, but I can't find the page that create the function.

I want to put a progress bar under the button:

I believe it is possible but which file I need to edit?

The header() method is defined in core_renderer class in moodle/lib/outputrenderers.php file. Your theme will be extending this class in an extended class in theme//renderers.php. You can override header() method in that class.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM