marinara in lams

fixing an error while trying to acces an activity when you are a teacher (should display next activity always).

Tool_adapter.php file for the Chat's Moodle Tool, which I forgot to upload it with all Moodle's Chat files one month ago.

    • -0
    • +60
    /temp_moodle_dev/moodle/mod/lamstwo/tooladapter_chat.php
changes to hide Moodle's footer

new column in the chat's database that contains the variable is_lams

new paramenters that helps to know when to display lams buttons. Also modifications in aim to hide moodle's headers and footers

    • -7
    • +20
    /temp_moodle_dev/moodle/mod/chat/view.php
new files that make to display lam's buttons

    • -0
    • +14
    /temp_moodle_dev/moodle/mod/chat/showlamsfinish.php
    • -0
    • +15
    /temp_moodle_dev/moodle/mod/chat/showlamsnext.php
Changes in some function's paramenters to hide Moodle's headers and footers

    • -6
    • +11
    /temp_moodle_dev/moodle/mod/chat/report.php
Slight modifications to the form. this is a simplifyed copy of the original mod_form.php used by lams

    • -0
    • +69
    /temp_moodle_dev/moodle/mod/chat/mod_form_lams.php
new clone, import and export functions for the moodle's chat tool

    • -1
    • +156
    /temp_moodle_dev/moodle/mod/chat/lib.php
changes in the header's functions for not to be desplayed inside lams

    • -4
    • +5
    /temp_moodle_dev/moodle/mod/chat/index.php
*** empty log message ***

after having some problems with the data base we had to change some names

New function's name for the outputs

New output function for the Chat (counts the number of messages a user has done)

changes in the print_header function in aim to not to display the header if we are in a lams sequence

    • -0
    • +674
    /temp_moodle_dev/moodle/lib/pagelib.php
new icon for Moodle's chat tool

Add a new condition to display chats just when they are made outside LAMS

    • -2
    • +2
    /temp_moodle_dev/moodle/lib/datalib.php
*** empty log message ***

New Moodle's Chat tool for Lams. this is just the first documens, from now on you will see all the changes that have to be done to adapt the Moodle's chat into lams

  1. … 112 more files in changeset.
add a new column to the scorm table with the variable is_lams

we pass the variables "is_lams" and "scormid" to be able to modify the path of the launch property inside the scorm_get_manifest function

Wepass the variable editing to the player.php page

We pass two new parameters to be aple to display the correct lams' buttons. We also use the is_lams variable to display or not the Moodle's headers and footers

    • -7
    • +19
    /temp_moodle_dev/moodle/mod/scorm/view.php
New files that displays lams' buttons

    • -0
    • +14
    /temp_moodle_dev/moodle/mod/scorm/showlamsfinish.php
    • -0
    • +15
    /temp_moodle_dev/moodle/mod/scorm/showlamsnext.php
depending on the is_lams variable we will display or not the Moodle's headers and footers.

    • -5
    • +19
    /temp_moodle_dev/moodle/mod/scorm/report.php
Some changes for not to display Moodle's headers and footers. We also pass the is_learner parameter to display the correct lams' buttons

    • -12
    • +27
    /temp_moodle_dev/moodle/mod/scorm/player.php
New file. Copy of the mod_form.php file simplifying a little bit the form while displayed inside lams.

    • -0
    • +276
    /temp_moodle_dev/moodle/mod/scorm/mod_form_lams.php
Some changes to be able to display the correct lams' buttons

If we are into lams we creat a full path to the documents in the launch propert of the Sco table, so when we want to play the documents in lams we don't want to reconstruct again the path because we already have it

    • -2
    • +6
    /temp_moodle_dev/moodle/mod/scorm/loadSCO.php
Add new clone, import, export and outputs functions to be able to comunicate with the lams part

    • -2
    • +182
    /temp_moodle_dev/moodle/mod/scorm/lib.php