Hi all,
i need to add field (like numer of credits, duration of course...) when i create a new course (maybe course/edit.php page?)
I need to modificate the php page or there is a way to modificate the structure with a plug in?
Dear Maryel,
Thanks for the reply, but what I want to do involves my format.php in my course format reacting to the values of two stored variables so that it can automatically manipulate the content in terms of number of weeks that are displayed. A sort of dynamic viewable window of time without user intevention.
Hence I need to add attributes to the course that are stored and edited in course settings.
Cheers,
Gareth
Hi Tommaso,
I am even trying to add a field in course page. This is getting added through course/edit_form.php. But I want to add through plugin.
If you have an idea about adding through plugin, please sugges me.
looking for any result/solution of the same issue but not getting the exact solution!
Dear Muhammad,
It is now possible to add fields to the 'Course Settings' page through code in the course format. See the 'course_format_options' and 'update_course_format_options' methods in '/course/format/topics/lib.php' and http://docs.moodle.org/dev/Course_formats#Course_format_options.
Cheers,
Gareth