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

Navigation Block doesn't respect a URL activities settings

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.5, 2.1.2, 2.2
    • 2.0.6, 2.1.3
    • Navigation
    • MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • wip-MDL-29224-master
    • Hide

      add a URL to the main menu block on the site homepage - set it to automatic.
      Click on the link in the main menu block - make sure it auto redirects to the page and doesn't show an intermediary splash page.
      Go back to Homepage and select the same link but within the site pages area of the Navigation block - make sure the page redirects and doesn't show an intermediary splash page

      Show
      add a URL to the main menu block on the site homepage - set it to automatic. Click on the link in the main menu block - make sure it auto redirects to the page and doesn't show an intermediary splash page. Go back to Homepage and select the same link but within the site pages area of the Navigation block - make sure the page redirects and doesn't show an intermediary splash page

    Description

      If you add a URL to the main menu block on the site home page a link to that same URL is shown in the Navigation block under site pages.

      Problem is the behavior of this link differs to the one in the main menu block.
      click on link in main menu you are redirected to the page correctly.
      click on the link in navigation block under site pages you are taken to a splash page that displays the url to click on.

      The main menu block has some extra js on the "onclick" event for the url that has the param redirect=1 which is missing in the navigation block.

      Attachments

        Issue Links

          Activity

            People

              samhemelryk Sam Hemelryk
              danmarsden Dan Marsden
              Aparup Banerjee Aparup Banerjee
              Rossiani Wijaya Rossiani Wijaya
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/11