貼文的作者是 Itamar Tzadok

Cris, many small (100 hours) but important and highly desirable enhancements can be packaged in Moodle plugins such as blocks, locals etc. Your students' projects can be designed and developed as such. In the requirement analysis students can justify the importance by referencing tracker issues and forum discussions. You can install these plugins in your local environment and evaluate them for grades. Then they can be contributed to the community via the Moodle plugin repository or git. And some of these enhancements may some day find their way to core in a controlled way. Everybody wins. 微笑

評比平均分數:Useful (3)

The setDefault doesn't fail. You probably pass another value for searchcheckbox in the data which overrides the setDefault value as it should. If you want to assign a value under conditions add to the form class

    /**
     *
     */
    function data_preprocessing(&$data){
        // Add code to set $data->searchcheckbox as needed
    }

    /**
     *
     */
    function set_data($data) {
        $this->data_preprocessing($data);
        parent::set_data($data);
    }

hth 微笑

Thanks Rajesh.

MDL-43236 is closed and I don't think commenting on it would be useful. I will add instead an improvement issue. It does not have to change the existing 'should/should not' steps. It can just extend the set of steps with 'does/does not' steps which delegate to the 'should/should not' in the background. Then either phrasing could be used without duplicating much.

微笑

Unfortunately not possible with the Database module. It is possible with the Dataform module where you can lock a field in which case only teachers will be able to update it. The next version of the Dataform allows you to set even more granular permissions. hth 微笑 

Hi Dawn,

The Dataform module is a generic activity module and you can use it for a variety of applications. A simple method of student peer review is by ratings and comments, as illustrated here:

 

More structured applications may involve a work flow and role assignments for designated users in designated contexts of the activity. The documentation will offer guidelines for setting up such applications and is open for the community to add more examples.

微笑

評比平均分數:Useful (1)