Custom fields for activity modules

Certified Partner Plugin
Maintained by Daniel Neis Araujo
This plugin adds Custom Fields to all activity modules.
Price option: Free

Supports Moodle 3.7-5.1 See all versions
Latest release: 2 years ago
Installations: 644
Downloads (last 90 days): 110

Frankenstyle name: local_modcustomfields
Local plugins

Comments

Comments are no longer open for new posts. Existing comments remain available to read.

Hello,
You can install https://moodle.org/plugins/customfield_textregex and use a regular expression to allow only numbers to be entered.
Hi Daniel and everyone. I want add custom field name "Training LOE" with type number, but i see only date and text type. Can I custom the field to number?
Hi Daniel, great and useful plugin. Thank you. Do you think that it would be possible (hypothetically) to edit the plugin, so that certain fields would appear at certain modules, or even better, certain field categories would appear at certain modules and not others?
Hi Daniel. Thanks for this plugin. Is there any way to get and display the defined fields in GENERICO ?
Congratulations with this amazing plugin. It should be great to make some field categories visible also for students, like the General category on the activities.
Hello, Cristian
Moodle 3.10 is too old, maybe the plugin is not really compatible anymore.
Please, update to 4.1, 4.2 or later and try again.
Best,
Daniel
Hello Daniel,
I am trying to use the plugin in Moodle 3.10, but when I select the type of field, it shows me an error. The error is 'Section error!'.
I installed the plugin on two different Moodles and it showed me the same error. Can you help me with this, please?
Hello, Dhawal
You can use the handler from \local_modcustomfields\customfield\mod_handler::create(); to fetch the contents.
Unfortunately, there are not many places you can display this information without modifying the core code.
Best,
Daniel
Hi,
I have added the plugin & created some custom fields to the my courses. But how should I fetch those fields for core_course_get_contents? Is there any way of adding those field without making any changes to CORE code of moodle?
No tables are deleted as the plugin don't have any tables.
Can anyone here confirm whether database tables get deleted while un-installing this plugin?
The fields will appear under sections with the name you give when you create the fields's categories.
It doesn't make sense to have them under Activity Completion section as they are not related to this.
Best,
Daniel
Hi, This plugin really helpful.
It adds new filed at the end of settings tab as Other Fields
Can we add new field under Activity Completion section.
Thank you very much, Andrew!
I've just released a new version with you changes.
Best,
Daniel
I've just raised a merge request to add back-up and restore functionality:
https://gitlab.com/andrewdchancox/moodle-local_modcustomfields/-/tree/backupandrestore