Issue Details (XML | Word | Printable)

Key: MDL-7010
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Tim Hunt
Reporter: Priya Saini
Votes: 1
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-6937

mod\quiz\config.html

Created: 16/Oct/06 03:46 PM   Updated: 10/Dec/08 12:17 AM
Return to search
Component/s: Accessibility, Forms Library
Affects Version/s: 1.8
Fix Version/s: 2.0

File Attachments: 1. File settingstree.php (3 kB)

Issue Links:
Dependency
 
Duplicate
 
Relates
 

Participants: Jamie Pratt, Priya Saini and Tim Hunt
Security Level: None
Resolved date: 26/Aug/08
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_20_STABLE


 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Jamie Pratt added a comment - 02/May/08 11:13 PM
Would be great if you had time to tackle this Tim.

Jamie Pratt added a comment - 09/May/08 02:23 PM
Attaching a file settingstree.php that uses the new mechanism in the admin tree to let activity modules do more than just add one page to the admin menu. This file includes commented out code to include general settings for all reports and a comment about where to add code for the quiz module general settings page.

It also searches mod/quiz/report sub folders for any settings.php pages. If any are found or if some general settings for reports have been defined a sub folder will be added quiz/reports.

Right now you can drop this into mod/quiz. You won't see anything until some actual pages are added to the extra categories on the admin menu. If you drop this into mod/quiz then you will no longer see the settings page defined by config.html The same page can be used in HEAD and 1.9

I added a TODO comment to an if branch in HEAD that needs deleting as soon as quiz/config.html is migrated to used the admin menu api.


Jamie Pratt added a comment - 09/May/08 02:25 PM
The TODO comment is in admin/settings/plugins.php

Tim Hunt added a comment - 22/Aug/08 06:00 PM
I have nearly finished this, but it is 6:00pm Friday and I have had enough. Just the review options to go. Should be done on Monday.

Tim Hunt added a comment - 26/Aug/08 09:06 AM
Done.

Note that if non of the quiz reports have any settings, then the quiz settings appear directly under Plugins -> Activity modules. If some quiz reports do have settings, then Plugins -> Activity modules -> Quiz becomes an expandable menu with General settings and XXX Report settings, etc.