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

Create index&list link handlers for mod site plugins

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.0
    • 3.9.4
    • Site add-ons
    • Hide

      This issue only needs to be tested in 1 device.

      1. In a Moodle site as admin, install a module plugin supported in the app that does NOT implement link handlers. Right now I think only choicegroup implements link handlers, other plugins like certificate, customcert or questionnaire don't. In master there are some already installed.
      2. Create at least 1 instance of the module. In master there are some already in MM Dev Testing course.
      3. Somewhere in the site (e.g. a page or a description), create a link to SITEURL/mod/MODNAME/index.php?id=COURSEID. In master there's one already created in MM Dev Testing > Links to capture > Activities List /mod/*/index.php?id= > List of certificate in this course.
      4. Add the recently accessed items block to all dashboards if it isn't there already.
      5. In web as a student, open the activity.
      6. Go back to dashboard, check that the activity appears in recently accessed items. This is done in browser because some plugins might not have a WebService to tell the activity was accessed in the app.
      7. Now login as a student in the app.
      8. In the dashboard, click the plugin activity. Check that the activity is opened in the app (before this patch it was opened in browser).
      9. Now go to where you created the link in step 3 and click the link. Check that in the app you see a list of activities of that type in the course.
      Show
      This issue only needs to be tested in 1 device. In a Moodle site as admin, install a module plugin supported in the app that does NOT implement link handlers. Right now I think only choicegroup implements link handlers, other plugins like certificate, customcert or questionnaire don't. In master there are some already installed. Create at least 1 instance of the module. In master there are some already in MM Dev Testing course. Somewhere in the site (e.g. a page or a description), create a link to SITEURL/mod/MODNAME/index.php?id=COURSEID. In master there's one already created in MM Dev Testing > Links to capture > Activities List /mod/*/index.php?id= > List of certificate in this course. Add the recently accessed items block to all dashboards if it isn't there already. In web as a student, open the activity. Go back to dashboard, check that the activity appears in recently accessed items. This is done in browser because some plugins might not have a WebService to tell the activity was accessed in the app. Now login as a student in the app. In the dashboard, click the plugin activity. Check that the activity is opened in the app (before this patch it was opened in browser). Now go to where you created the link in step 3 and click the link. Check that in the app you see a list of activities of that type in the course.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

      Right now site plugins always need to create their own link handlers. For mod plugins, the app can probably create the view.php and index.php link handlers automatically.

        1. screenshot-1.png
          screenshot-1.png
          120 kB
        2. screenshot-2.png
          screenshot-2.png
          52 kB
        3. screenshot-3.png
          screenshot-3.png
          59 kB

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.