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

Allow quizaccess plugins to be able to set up external admin pages

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-67432-master_quizaccess_settings
    • Hide

      The following test is to demonstrate that quizaccess plugins are able to create dynamic admin settings, and be included in the admin tree.

      Setup

      1. Download attached file: quizaccess_test.zip, and extract files.
      2. Copy 'test' folder into a Moodle instance at:

        /mod/quiz/accessrule/test

      3. Run Moodle and ENSURE that quizaccess_test plugin is installed correctly.

      Test settings in boost.

      1. GOTO Site administation -> Appearance -> Theme selector
      2. Change the default theme to 'Boost' if not already set.
      3. GOTO Site administation->Plugins
      4. SCROLL to Activity modules -> Quiz
      5. CONFIRM that under the Quiz section, there is a Test quizaccess plugin section.
      6. CTRL-CLICK on Internal settings under Test quizaccess plugin section.
      7. CONFIRM that a standard admin page is opened with a Heading and a text element and url slug:

        /admin/settings.php?section=modsettingsquizcattest

      8. CTRL-CLICK on External settings under Test quizaccess plugin section.
      9. CONFIRM that an external admin page is opened with a url slug:

        /mod/quiz/accessrule/test/externalsettings.php

      Test settings in classic.

      1. GOTO Site administration -> Appearance -> Theme selector
      2. Change the default theme to 'Classic' if not already set.
      3. GOTO Administration panel on left of screen.
      4. CLICK DROPDOWNS for Plugins -> Activity modules -> Quiz
      5. CONFIRM that under the Quiz section, there is a Test quizaccess plugin section.
      6. CLICK DROPDOWN for Test quizaccess plugin section
      7. CTRL-CLICK on Internal settings under Test quizaccess plugin section.
      8. CONFIRM that a standard admin page is opened with a Heading and a text element and url slug:

        /admin/settings.php?section=modsettingsquizcattest

      9. CTRL-CLICK on External settings under Test quizaccess plugin section.
      10. CONFIRM that an external admin page is opened with a url slug:

        /mod/quiz/accessrule/test/externalsettings.php

      Show
      The following test is to demonstrate that quizaccess plugins are able to create dynamic admin settings, and be included in the admin tree. Setup Download attached file: quizaccess_test.zip, and extract files. Copy 'test' folder into a Moodle instance at: /mod/quiz/accessrule/test Run Moodle and ENSURE that quizaccess_test plugin is installed correctly. Test settings in boost. GOTO Site administation -> Appearance -> Theme selector Change the default theme to 'Boost' if not already set. GOTO Site administation -> Plugins SCROLL to Activity modules -> Quiz CONFIRM that under the Quiz section, there is a Test quizaccess plugin section. CTRL-CLICK on Internal settings under Test quizaccess plugin section. CONFIRM that a standard admin page is opened with a Heading and a text element and url slug: /admin/settings.php?section=modsettingsquizcattest CTRL-CLICK on External settings under Test quizaccess plugin section. CONFIRM that an external admin page is opened with a url slug: /mod/quiz/accessrule/test/externalsettings.php Test settings in classic. GOTO Site administration -> Appearance -> Theme selector Change the default theme to 'Classic' if not already set. GOTO Administration panel on left of screen. CLICK DROPDOWNS for Plugins -> Activity modules -> Quiz CONFIRM that under the Quiz section, there is a Test quizaccess plugin section. CLICK DROPDOWN for Test quizaccess plugin section CTRL-CLICK on Internal settings under Test quizaccess plugin section. CONFIRM that a standard admin page is opened with a Heading and a text element and url slug: /admin/settings.php?section=modsettingsquizcattest CTRL-CLICK on External settings under Test quizaccess plugin section. CONFIRM that an external admin page is opened with a url slug: /mod/quiz/accessrule/test/externalsettings.php

    Description

      The quiz module controls the hook to allow quizaccess subplugins to create their own admin settings.

      I believe that the way it is currently set up prevents the quizaccess subplugins from being able to create an external admin page.

      Attachments

        Issue Links

          Activity

            People

              andrewmadden Andrew Madden
              andrewmadden Andrew Madden
              Dmitrii Metelkin Dmitrii Metelkin
              Jake Dallimore Jake Dallimore
              Janelle Barcega Janelle Barcega
              Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Jun/20

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 41 minutes
                  41m