Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32657

Section dragdrop: make possible to define elements swapping in the course format

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3
    • 2.3
    • Course
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • MDL-32657-master-1
    • Hide

      One way to test if it works, is to install one of non-core formats and make sure that neither section nor resource drag-drop works for it.
      The simpler way, is to comment out:

          // Include course format js module
          //$PAGE->requires->js('/course/format/topics/format.js');

      at the bottom of course/format/topics/format.php and ensure that drag-drop stopped working for topics format, but still works for weeks.

      Show
      One way to test if it works, is to install one of non-core formats and make sure that neither section nor resource drag-drop works for it. The simpler way, is to comment out: // Include course format js module //$PAGE->requires->js('/course/format/topics/format.js'); at the bottom of course/format/topics/format.php and ensure that drag-drop stopped working for topics format, but still works for weeks.

    Description

      As discussed in MDL-31052, it should be possible to define on the format level which elements should be modified as a result of nodes swapping. The idea is to have a yui module or js file per format, which will have the required functions.

      Attachments

        Issue Links

          Activity

            People

              kabalin Ruslan Kabalin
              kabalin Ruslan Kabalin
              Dan Poltawski Dan Poltawski
              Sam Hemelryk Sam Hemelryk
              Rossiani Wijaya Rossiani Wijaya
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Jun/12