开发者

How to create a plugin in moodle

How to create a plugin in moodle 2.0? I want to create a plugin , like if I enabled from plugins, that has to be enabled on the back/front end.

I was trying to see the file structure for how to create a plugin in moodle 2.0. Please hel开发者_StackOverflowp on that part I need the url or steps to create a plugin on moodle 2.0.


The official site contains some basic documentation. Look at this page: http://docs.moodle.org/dev/Developer_documentation#Make_a_new_plugin


If you want to create a plugin in Moodle, a good idea can be to download a module template. Basically it is a simple plugin you can modify for your needs. For more details you can see here. Please, note that the page is a work in progress, but I found it very useful for starting creating my plugins. There is also a tutorial you may want to read (see here), containing other complementary useful information.

Be aware that there are different types of plugins in Moodle (see here), having slightly different structures, and you should roughly know what type of plugin you are going to develop before starting developing.

Finally, if you want to see what are the common structures shared among plugins, you may want to give a look here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜