1

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 help on that part I need the url or steps to create a plugin on moodle 2.0.

4

2 回答 2

3

官方网站包含一些基本文档。看看这个页面:http ://docs.moodle.org/dev/Developer_documentation#Make_a_new_plugin

于 2011-09-14T23:14:36.980 回答
2

如果你想在 Moodle 中创建插件,最好下载一个模块模板。基本上它是一个简单的插件,您可以根据需要进行修改。有关更多详细信息,您可以在此处查看。请注意,该页面正在进行中,但我发现它对于开始创建我的插件非常有用。还有一个您可能想阅读的教程(请参阅此处),其中包含其他有用的补充信息。

请注意,Moodle 中有不同类型的插件(参见此处),结构略有不同,在开始开发之前,您应该大致知道要开发哪种类型的插件。

最后,如果您想了解插件之间共享的常见结构,您可能想看看这里

于 2015-07-24T08:49:07.893 回答