Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3095

Make it easier to support plugins like mod_label using site plugins

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7.0
    • Fix Version/s: 3.8.0
    • Component/s: Site add-ons
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. In a site, install the plugins "regularlabel" and "superlabel" attached to this course.
      2. Login as teacher/admin and create a "regularlabel" in a course (it acts like a normal label). 
      3. Also, create a "superlabel" in the same course.
      4. In the app, login as a student and open the course.
      5. Check that in the regular label you see the content you put in step 2. Check that clicking the label doesn't do anything.
      6. Check that you see the text "This is a super label! Wiii" instead of the superlabel contents. Check that clicking the label doesn't do anything.
      Show
      This issue only needs to be tested in 1 device. In a site, install the plugins "regularlabel" and "superlabel" attached to this course. Login as teacher/admin and create a "regularlabel" in a course (it acts like a normal label).  Also, create a "superlabel" in the same course. In the app, login as a student and open the course. Check that in the regular label you see the content you put in step 2. Check that clicking the label doesn't do anything. Check that you see the text "This is a super label! Wiii" instead of the superlabel contents. Check that clicking the label doesn't do anything.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Sprint:
      Moodle App 3.8.0

      Description

      The site plugins system for activities is designed to open a new page when the module is clicked. We should make it easier to support plugins that display data in the course page, similar to what mod_label does.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Noel De Martin
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                20/Dec/19