Custom certificate (plugin)

Moodle certificate

 
Picture of kritika sood
Moodle certificate
 

I want to add custom coure fields in moodle certificate template. This can be easily done by making changes in the core certificate code. But I want to achieve the same by some external plugin. 

Is this possible to do this ? if yes, how ?


 
Average of ratings: -
Picture of Dave Emsley
Re: Moodle certificate
Particularly helpful Moodlers

Hi there kritika,

I've never done this but I would try something like....


class my_mod_whatever_name extends mod_customcert_mod_form {

        $mform->addElement.....
        $mform->setType....
        $mform->addHelpButton....
....
}

In your plugin lib.php file:

Hope this helps


Dave

 
Average of ratings: -