Mustache template based »cleanm« theme

Re: Mustache template based »cleanm« theme

by Gareth J Barnard -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Can be fixed with:

    public function export_for_template(renderer_base $output) {
        global $CFG, $SITE, $PAGE;
        if (!$PAGE->has_set_url()) {
            $thispageurl = new \moodle_url(\qualified_me());
            $PAGE->set_url($thispageurl, $thispageurl->params());
        }

in 'base_layout.php'.