I decided to do exactly as you said, clone an existing plugin and modify it to what I needed.. can I just check with you though.. I would just add/modify statements using the Form API such as: $mform->addElement('select', 'assignsubmission_onlinepoodll_recordertype', get_string("recordertype", "assignsubmission_onlinepoodll"), $recorderoptions);
So, the statement will add a dropdown box, show its name using the get_string and populate it by using the $recorderoptions variable?
What I don't understand by looking at the code is how to add elements to other sections in the Assignment settings? I can only see how to add elements to the Submission types section (using the onlinepoodll plugin). How would I add elements to the other sections that will be specific to my plugin?
General developer forum
Create plugin for student submissions
This discussion has been locked so you can no longer reply to it.