Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Calculated question bugs and new features proposal: Difference between revisions

From MoodleDocs
Line 19: Line 19:
(to be continued)[[User:Pierre Pichet|Pierre Pichet]] 17:06, 2 February 2007 (CST)
(to be continued)[[User:Pierre Pichet|Pierre Pichet]] 17:06, 2 February 2007 (CST)
#There is no way to import calculated questions in Moodle actually.
#There is no way to import calculated questions in Moodle actually.
The steps this are:
The steps to correct this are:
## Adding an importdatadef() function and import dataitem function() to calculated questiontype class
## Adding an importdatadef() function and import dataitem function() to calculated questiontype class
## adding a preliminary verifyimporteddata() function to calculated questiontype class
## adding a preliminary verifyimporteddata() function to calculated questiontype class
## modify the savequestion() and saveoptions() function to accept import data.
## modify the savequestion() and saveoptions() function to accept import data.
## ...
## ...

Revision as of 17:39, 2 February 2007

This page will be used as a TODO-List in relation to the bug tracker tasks

Main objectives

The actual plan is to

  1. Correct the minor problems of the new 1.8 interface and add some features

Improvement of the user interface

  1. Correct the minor problems of the new 1.8 interface and add some features
    1. Removing the side effects when typing the enter key in dataitems_form.php input fields
    2. Verify that there is at least one wild card in either the question or the answer text.
    3. adding a table showing the shareable category wild cards available in the first page of question creation or edition
    4. identifying more clearly which of the wild cards has an already defined shareable category wild cards available

Adding new class functions or make substantial change to existing one

  1. adding a table display function showing the shareable category wild cards available in the first page of question creation or edition
    1. a general function for the abstractype class (showing only the name and nb of items)
    2. a specific function for the calculatedquestion class showing the definition (min:max:type) in a user readable format.

Improvement to import-export process and question category moving

(to be continued)Pierre Pichet 17:06, 2 February 2007 (CST)

  1. There is no way to import calculated questions in Moodle actually.

The steps to correct this are:

    1. Adding an importdatadef() function and import dataitem function() to calculated questiontype class
    2. adding a preliminary verifyimporteddata() function to calculated questiontype class
    3. modify the savequestion() and saveoptions() function to accept import data.
    4. ...