Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

fix an error to get the sectionid variable

New tool adapter's page for Moodle's Assignment

    • -0
    • +60
    ./mod/lamstwo/tooladapter_assignment.php
Use 'next' variable to check if an entry have been uploaded and if true lams shows the Next Activity button

Some little changes, nothing relevant

Some changes to fix some functions in the glossary, as Clone, Import and export.

we change to 1 the 'Next' variable if we upload a new entry in the Glossary. We pass that variable to view.php page so there we can display the Next Activity button if next=1.