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

Boost not using extend_navigation_category_settings callback

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 3.4.3, 3.7
    • Navigation, Themes
    • None
    • MOODLE_34_STABLE, MOODLE_37_STABLE
    • Hide

      Add the Administration block in Boost theme

      Show
      Add the Administration block in Boost theme
    • Hide
      1. Go to  Site administration > Courses > Manage courses and categories
      2. Click on gear icon for a category
      3. Verify that you see "Competency frameworks" under "Restore course"
      4. Create a course in that category and then delete it
      5. Click on gear icon for the category
      6. Verify that you see "Recycle bin" under "Competency frameworks" 

       

      Show
      Go to  Site administration > Courses > Manage courses and categories Click on gear icon for a category Verify that you see "Competency frameworks" under "Restore course" Create a course in that category and then delete it Click on gear icon for the category Verify that you see "Recycle bin" under "Competency frameworks"   

      The Navigation API has a callback to allow plugins to inject actions for categories in the "Manage courses and categories" section of Site Administration:

      https://docs.moodle.org/dev/Navigation_API#Category_settings

      But this callback is not being used when using the Boost theme. We would like this callback to be used to display these extra actions in the gear icon for a category.

        1. classic.png
          classic.png
          386 kB
        2. missing-callbacks.png
          missing-callbacks.png
          96 kB
        3. testing.png
          testing.png
          189 kB

            Unassigned Unassigned
            rex Rex Lorenzo
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

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