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

custommenuitems fails to display tooltip titles in Moodle 4 and higher

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78656-401
    • Hide
      1. Log in as admin
      2. Navigate to Appearance > Themes > Theme settings in site administration
      3. Set Custom menu items to the following:

        Moodle|https://moodle.org|Oh yeah
        Courses||A menu appears
        -All courses|/course/|View all courses here
        

      4. Save changes
      5. Hover over the menu items in primary navigation:
        • Moodle: Confirm tooltip "Oh yeah" shows
        • Courses: Confirm tooltip "A menu appears" shows
        • All courses: Confirm tooltip "View all courses here" shows
      Show
      Log in as admin Navigate to Appearance > Themes > Theme settings in site administration Set Custom menu items to the following: Moodle|https://moodle.org|Oh yeah Courses||A menu appears -All courses|/course/|View all courses here Save changes Hover over the menu items in primary navigation: Moodle : Confirm tooltip "Oh yeah" shows Courses : Confirm tooltip "A menu appears" shows All courses : Confirm tooltip "View all courses here" shows

      In Moodle 4 and higher the "Custom menu items" (custommenuitems) setting in the "Theme settings" no longer renders tooltip titles on the page on mouse hover, contrary to this help description (my bold):

      "A custom menu may be configured here. Enter each menu item on a new line with format: menu text, a link URL (optional, not for a top menu item with sub-items), a tooltip title (optional) and a language code or comma-separated list of codes (optional, for displaying the line to users of the specified language only), separated by pipe characters."

      I tested the same menu items in Moodle 3.11, then in Moodle 4.0.* and 4.2.1 (Moodle Cloud), using the Boost theme. The titles do show in Moodle 3.11, but they do NOT show in Moodle 4 and up.

            pholden Paul Holden
            pmk Przemek Kaszubski
            Andrew Lyons Andrew Lyons
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 30 minutes
                2h 30m

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