Adding course history to User Profile

Adding course history to User Profile

by Kevin Lu -
Number of replies: 0

Dear Moodle Development Experts,

Thank you for reading this question. I am currently developing a new Moodle LMS for my online education company and I encounter an obstacle that I need to create a block of data that contains the information in the below template,

course_name: English | History | Geography | Physics | Chemistry | Math

course_type: paid | free_trial

package_type: standard | premium

times_per_week: 2 | 3

course_id_on_moodle: null

course_start_date: null

course_end_date: null

billing_period_number_of_lessons: 8 | 12

total_unit_number: 12

total_lesson_number: 10

current_lesson_number: 0

The bar (symbol "I") stands for OR. So each user on Moodle must have this template in the profile. Note that each of the above template is each course, so if a student takes English, History and Geography, then he or she has 3 templates, each template with different information.

I am thinking creating a Text Area in the user profile setting to store the templates for courses. Would it be a feasible way to do it? My biggest concern is if I need to update the data using php scripts, then it will be difficult.

Thanks!

Kevin

Average of ratings: -