Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add "is_lams" parameter in the Lesson's table wich indicate that thet lesson will only be displayed inside Lams because has been created for a Lams sequence

Uploaded=1 when a Lesson has been edited in Lams

Pass Uploaded=1 variable when a Lesson has been edited

    • -2
    • +4
    ./mod/lesson/action/addendofbranch.php
Modifications to hide Moodle's headers (and some links to Moodle Course) and also we get a new variable ("uploaded") so when we have edited or done a lesson the Lams' buttons are shown

New pages wich contains the code that make the Lams' buttons appear in the upper frame

    • -0
    • +14
    ./mod/lesson/showlamsfinish.php
    • -0
    • +15
    ./mod/lesson/showlamsnext.php
Modifications to hide Moodle's headers.

New page copied from mod_form.php and with some changes to make it simple when we show the activity's form inside Lams

    • -0
    • +346
    ./mod/lesson/mod_form_lams.php
New functions to clone, import, export and give outputs from Moolde to Lams

Modifications to hide Moodle's headers and also we pass a new variable ("uploaded") so when we return to the edit.php page or view.php we can know it has been edited and show the Lams' button.

Modifications to hide Moodle's headers

We pass some variables to the page so if the lesson has been edited we can show the "finish updating" Lams' button

New Tool Adapter for Moodle's Lesson tool

    • -0
    • +60
    ./mod/lamstwo/tooladapter_lesson.php
Modifications in the get_all_instances_in_courses function in aim to process the new Wiki and Lesson tool

Hide Moodle's headers and Footers for Wiki while in LAMS

Add a new field in the data base with the is_lams parameter for Wiki

Modifications for not to display Moodle's navigation buttons and display the LAMS ones

Modifications to display LAMS navigation buttons and not to display Moodle's ones inside LAMS

New pages containing the navigation buttons used in LAMS for Wiki

    • -0
    • +14
    ./mod/wiki/showlamsfinish.php
    • -0
    • +15
    ./mod/wiki/showlamsnext.php
New Clone, Import, Export, Output's functions for Wiki Moodle's tool in aim to be dispayed in LAMS

Important changes in Clone, Import/export and Output's functions

Changes to the output's function in Choice tool

Ne Tool Adapter's page for Wiki

    • -0
    • +60
    ./mod/lamstwo/tooladapter_wiki.php
Files modified in the question folder

New weblib.php , modifications in the header's and footer's functions

Latest version of the modedit-lams.php

New mod_form.php for LAMS (we will modify this file for LAMS purposes)

    • -0
    • +97
    ./mod/wiki/mod_form_lams.php
we use the variable 'saved' to let know the view's page that one file has been uploaded so it can be displayed the Next Activity button( in case is a Learner).

we use the variable 'save' to let the view's pageto know that there has been one file uploaded. We also noticed that in the database, in the table submissions they were not storing the number of files uploaded in the numfiles field, so we fix that so we could use that parameter in our outputs function.

Nothing important: delate one variable that hasn't been used

Some modifications to make the tool work properly if there is one Quiz in blank in a LAMS sequence.