向课程 Moodle 添加自定义字段 [英] Add a custom field to course Moodle
问题描述
我是 Moodle 的新手.我需要您的建议来创建插件,该插件将在添加/编辑课程页面上添加一个自定义字段,并将输入值存储在 mdl_course
表中.
I'm new to moodle. I need your suggestions to create plugin which will add a custom field on Add/edit courses page and will also store the input value in mdl_course
table.
推荐答案
截至目前,Moodle 不允许允许您从 Web 界面向课程添加自定义字段.
As of now Moodle does not allow you to add custom fields to a course from the web interface.
但是,Moodle Tracker 中有一个适用于 v1.9 的补丁(MDL-18319一>).
However there is a patch available for v1.9 in the Moodle Tracker(MDL-18319).
请注意,该补丁适用于 Moodle-1.9,如果您使用的 Moodle 版本 > 1.9,直接应用它可能会损坏您的源代码
Please be aware that the patch is for Moodle-1.9 and applying it directly may corrupt your source code if you are using Moodle version > 1.9
这篇关于向课程 Moodle 添加自定义字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!