General developer forum

Assignment override

 
Azmatullah
Assignment override
 

I'm using Moodle 3.5 and trying to override assignment but changes doesn't appearing and showing older look.

File directory theme>classes>output>mod_assign_renderer.php

namespace theme_remui\output;

use html_table;

use html_writer;

use moodle_url;

defined('MOODLE_INTERNAL') || die();

class mod_assign_rendere extends \mod_assign_renderer {

    public function render_assign_course_index_summary(assign_course_index_summary $indexsummary) {

    }

}

 

 
Average of ratings: -
Azmatullah
Re: Assignment override
 
Issue was resolved by purge all caches and also put file on theme/themename/classes directory.


File directory theme>classes>mod_assign_renderer.php

defined('MOODLE_INTERNAL') || die();

class theme_themename_mod_assign_rendere extends mod_assign_renderer {

    public function render_assign_course_index_summary(assign_course_index_summary $indexsummary) {

    }

}


 
Average of ratings: -