This could be on a per-quiz basis with a site-wide default. Possibilities mentioned from http://drupal.org/node/85983.
Or, if we dont rename the module as a whole - we could have a config area to name the assessment type? That way the tab can say:
* Take Assessmenet
* Take Quiz
* Take Test
* Take Exam
* Take It Easy
* LETS GO!!!
Either drop down or free entry?
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | quiz_assessment4.patch | 17.45 KB | seanbfuller |
| #6 | quiz_assessment3.patch | 18.29 KB | rfolk |
| #4 | quiz_assessment2.patch | 18.89 KB | rfolk |
| #3 | quiz_assessment.patch | 15.33 KB | rfolk |
Comments
Comment #1
webchickIf we're going to make a setting for this (there's always locale ...) it should be free-entry, not drop-down.
Comment #2
nicholasthompsonFree entry takes less code too ;-)
Comment #3
rfolk commentedAttached is a patch that allows the user to replace "take test" or "quiz" with an assessment type that is configured in the quiz settings menu. It is free-entry with a default assessment type value of "quiz". A user now has the ability to refer to assessment types as tests, exams, etc.
Something to note: If "quiz" is directly referring to the quiz module it will not be replaced.
Comment #4
rfolk commentedAfter review, I noticed a few references to "quizzes" that needed to be updated. The most current patch for this issue is attached. Thanks!
Comment #5
webchickFirst of all, major props for remembering to check_plain stuff on output!
However, that's an awful lot of duplicated code. What if we just did:
And from then on did %quiz => $quiz_name ?
Comment #6
rfolk commentedThanks webchick! Your right... there was a bit of duplicated code. I've taken your suggestion and built a new patch accordingly.
Comment #7
seanbfuller commentedCommitted to HEAD.
Attached is the updated version that was applied to HEAD. Contains several version fixes for the lastest version after http://drupal.org/node/27133 was applied and code moved around.
Comment #8
(not verified) commented