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

Add core support for activities other than labels to display contents inline

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Course
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      There is currently functionality to specify that activity module does not have url but there are no core activity modules using it. When trying to create module type with inline contents I found that the changes in core are needed.

      • 'label' is hardcoded in several places in core
      • When displaying the section (ex. print_section()), there is no CSS class assigned for the content of the activity that has no url, which makes it difficult to access it with Javascript
      • Javascript delete and hide icons do not work for activities without url (some code hardcoded for labels)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marina Marina Glancy
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: