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

Add shortcut URL support

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: Side menu, URL add-on
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      In the browser, Moodle supports "shortcut URLs" for courses  ([https://docs.moodle.org/310/en/Course_FAQ#Is_there_a_shortcut_URL_to_a_course.3F[]). |https://docs.moodle.org/310/en/Course_FAQ#Is_there_a_shortcut_URL_to_a_course.3F.] Rather than specifying the course id in the URL, the course shortname can be used.

      So, for example, our Student Resources course can be accessed using

      <site URL>/course/view.php?id=395

      OR

      <site URL>/course/view.php?name=Student

      In the mobile app, the former links within the app; while the latter link opens in the browser.

      To recreate:

      1. In Moodle site admin
        1. Create a custom menu item in the mobile app settings that links to the course shortname of an existing course: URL (Moodlesite)/course/view.php?name=shortname
        2. Add "app" for link opening method,
      2. In app
        1. Access custom menu and tap custom menu item created above

      What I expected: The link to open in the app.

      What happened: The link opened in the browser.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            tim@horizoneducationnetwork.org Tim Bahula
            Participants:
            Component watchers:
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: