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

Add shortcut URL support

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.5, 4.0.1
    • Navigation, URL add-on
    • MOODLE_39_STABLE, MOODLE_400_STABLE

      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.

            dpalou Dani Palou
            tim@horizoneducationnetwork.org Tim Bahula
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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