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

$OUTPUT->custom_menu() appends wwwroot to the url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Themes
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I have added several items to the Custom Menu. When the custom menu loads, the items show up, but clicking clicking on them or mousing over them reveals that the renderer is building the link starting with the WWWROOT, then the url in the Custom Menu setting:

      Moodle.org | http://www.moodle.org will link to :

      http://localhost/moodle20/http//www.moodle.org

      I have tried this with both customized themes and the Standard theme.

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              iverjohnson Iver Johnson
              Tester:
              Nobody
              Participants:
              Component watchers:
              Bas Brands
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10