Moodle

Give modules the ability to add whole trees of settings pages to the admin menu of they want.

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 1.9.1
  • Component/s: Administration, Quiz
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Issue Links

Activity

Hide
Jamie Pratt added a comment -

Do we intend to upgrade the quiz settings page from config.html to settings.php. If we do we will lose the formatting of the form, we won't be able to do anything that looks so good or is as usable with the existing admin settings api. But it would be easy to add code to a new mod/quiz/settings.php to scan subdirectories of mod/quiz/report for settings.php files.

Show
Jamie Pratt added a comment - Do we intend to upgrade the quiz settings page from config.html to settings.php. If we do we will lose the formatting of the form, we won't be able to do anything that looks so good or is as usable with the existing admin settings api. But it would be easy to add code to a new mod/quiz/settings.php to scan subdirectories of mod/quiz/report for settings.php files.
Hide
Jamie Pratt added a comment -

Oh! Perhaps I can use the admin settings api to tell the admin menu about an external old style html page from mod/quiz/settings.php and then search for sub menu items in mod/quiz/report/

Show
Jamie Pratt added a comment - Oh! Perhaps I can use the admin settings api to tell the admin menu about an external old style html page from mod/quiz/settings.php and then search for sub menu items in mod/quiz/report/
Hide
Tim Hunt added a comment -

I think quiz config.html is a separate issue - and one that needs to be solved for all modules. (Something was done for block config pages in 1.9.)

I think having quiz report settings as sub-tree items under quiz would be good.

Show
Tim Hunt added a comment - I think quiz config.html is a separate issue - and one that needs to be solved for all modules. (Something was done for block config pages in 1.9.) I think having quiz report settings as sub-tree items under quiz would be good.
Hide
Tim Hunt added a comment -

Oh, and I would bring this up in Moodle HQ chat, to make sure we are in line with MDs thoughts in this area.

Show
Tim Hunt added a comment - Oh, and I would bring this up in Moodle HQ chat, to make sure we are in line with MDs thoughts in this area.
Hide
Tim Hunt added a comment -

The other bug about replacing mod/quiz/config.html is MDL-7010. I won't close this one until that one is fixed.

Show
Tim Hunt added a comment - The other bug about replacing mod/quiz/config.html is MDL-7010. I won't close this one until that one is fixed.
Hide
Tim Hunt added a comment -

This bug used to be specifically about quiz reports, but they were handled as part of the checkin for MDL-7010, wherease the code checked in here was to make the general mechanism available to all modules. Therefore I have adjusted the summary appropriately.

Show
Tim Hunt added a comment - This bug used to be specifically about quiz reports, but they were handled as part of the checkin for MDL-7010, wherease the code checked in here was to make the general mechanism available to all modules. Therefore I have adjusted the summary appropriately.
Hide
Tim Hunt added a comment -

From my work on MDL-7010, I can now confirm that the general mechanism works.

Show
Tim Hunt added a comment - From my work on MDL-7010, I can now confirm that the general mechanism works.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: