在 Moodle 中添加自定义用户字段(下拉菜单) [英] Add Custom User Field (Dropdown) in Moodle
问题描述
我需要在 Moodle 中添加自定义用户字段(下拉菜单).我知道我可以通过 https://docs.moodle.org/24/en/User_profile_fields 添加它 和 https://docs.moodle.org/dev/User_profile_fields>
我继续使用上述方法并相应地添加了下拉列表.但是,当我在数据库中看到它时, {user_info_field} 它只显示一行,其中我的选择字段由新行分隔.屏幕截图已列出.
我希望这些参数出现在不同的行中.因为,我几乎没有开发涉及创建自定义发票插件以存储每所大学的定价.
I 在内置队列系统中用于对不同大学的用户进行分类.在这里,我不必创建自定义配置文件字段.
对于发票插件,我将通过创建将表添加到数据库字段的本地插件来操作相同的队列(在我的例子中是大学).谢谢大家的帮助.
Hi I need to add Custom User Field (Dropdown) in Moodle. I know I can add it through https://docs.moodle.org/24/en/User_profile_fields and https://docs.moodle.org/dev/User_profile_fields
I went ahead with above method and added dropdown accordingly. However, when I see it in database, {user_info_field} it shows only one row with my select fields seperated by new line. Screenshot is listed.
I want these params to be appear in separate rows. Because, I've few development in pipeline which involves creation of custom invoicing plugin that allows to store pricing for each university.
I Used in built cohort system to categorized users in different University. Here I didn't have to create custom profile field.
For invoicing plugin, I will manipulate same cohorts (in my case University) by creating local plugin which adds tables to database field. Thank you all for your help.
这篇关于在 Moodle 中添加自定义用户字段(下拉菜单)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!