Extending scorm

Extending scorm

by lital l -
Number of replies: 0

Hi,

I want to add an option of late submmition for specific users in scorm (like we have in assign).

I made some changes in the scorm module:

1. I created new table 'scorm_user_flag' in order to save there the information of the extand time.

2. I created a new form setting (addtimesettings_form.php) that contains the form definition (open time, close time - read only, and extand time).

3. I added a new column to the report table in report.php

4. The new column contains a link to /addtime.php?id=XXX&userid=XXX&action=grantextension&sesskey=XXXX 

- new addtime.php file that I created.

this file calls to addtimesettings_form, and display the form.

Now, my question is:

How can I now catch the button action and add the information to the 'scorm_user_flag' table?

when i now click on the button, I redirect to /additem.php and get error, that id parameter is missing.

Thanks.


Average of ratings: -