I wanted to develop new resource module. I developed my module as activity module and it works fine. Now I want to change it to resource module. What changes I have to make?
How to change an activity module to a resource module ?
by Sugeesh Chandraweera -
Number of replies: 2
In reply to Sugeesh Chandraweera
Re: How to change an activity module to a resource module ?
by Davo Smith -
Get your plugin's _supports function to return 'MOD_ARCHETYPE_RESOURCE' for 'FEATURE_MOD_ARCHETYPE', for example:
https://github.com/moodle/moodle/blob/master/mod/resource/lib.php#L31
In reply to Davo Smith
Re: How to change an activity module to a resource module ?
by Sugeesh Chandraweera -
Thanks for the help Davo,
It is working perfectly. Thanks
It is working perfectly. Thanks