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

we get the 'Next' variable and if is equal to 1 we desplay the Next Activity button (it means that we have done a comment to one entry so we can continue with the sequence)

hide Moodle's headers and footers if working inide LAMS's sequence. We also pass a variable called Next to the Comments.php page to be able to display LAMS's navigation buttons (if next=1 we tell to comments.php that a comment to one entry has been done).

hide Moodle's headers and footers if working inide LAMS's sequence and display LAMS's navigation buttons while necessary

hide Moodle's headers and footers if working inide LAMS's sequence

New files: to display LAMS's navigation buttons

    • -0
    • +14
    ./mod/forum/showlamsfinish.php
    • -0
    • +15
    ./mod/forum/showlamsnext.php
Hide Moodle's headers and footers in LAMS and display LAMS's navigation buttons while necessary

Little change: we hide Moodle's footer if we are in a LAMS sequence

New clone function for LAMS, now we copy all useful tables, not just the forum table. We changed the import and export function for LAMS too to be able to get the information from posts and discussion's tables

hide Moodle's footer if using LAMS

Changes to hide the Moodle's headers and footers

No significant change: we have delented one variable that we won't use

There was a mistake: we used section's 'id' but we have to use section's 'section' number, in the clone function

just in case there is a change ... sorry

slightly change, nothing important