Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've worked on a patch that allows making quiz creators unable to: "Shuffle questions", enable/disable "Backwards navigation", set "Feedback Time" and "Assign Action".
This also makes it possible to set default values to theses settings so it's not necessary to set this on quiz creation form, if that granularity is not desired.
I'll work do also make it possible to disallow users to set "Evaluation Summary" and "Evaluation Results".
Comment | File | Size | Author |
---|---|---|---|
quiz_settings.patch | 15.45 KB | recidive | |
Comments
Comment #1
Sivaji_Ganesh_Jojodae CreditAttribution: Sivaji_Ganesh_Jojodae commentedrecidive thanks for the patch. There is already a form
Administer > Quiz management > Quiz settings > Quiz node-form configuration
which helps to define default settings like Shuffle questions, Backwards navigation, Feedback Time etc (at
admin/quiz/settings/quiz_form
) I am wondering why you want to do the same again from quiz global configuration (atadmin/quiz/settings/config
).The options defined at
Quiz node-form configuration
seems to be not reflecting in quiz node form when creating / updating a quiz, may be falcon is yet to add.I am assigning this to falcon, he is more likely to guide you in right direction.
Comment #2
recidive CreditAttribution: recidive commentedInteresting. I don't see this neither in the navigation nor in the code. I may be looking at the wrong branch. Just figured out I'm with a checkout of HEAD not DRUPAL-6--4.
Comment #3
recidive CreditAttribution: recidive commentedOk, got it now. I switched to DRUPAL-6--4 branch and now I see the node-form settings.
I see it only allow setting the defaults for the form items, but it don't allow setting to disable those options for user creating quizzes. Am I missing anything?
Also, I think UX for settings is poor, I did this patch following Drupal 7 guidelines for settings forms.
I will look into this further and post an updated patch with some proposed changes.
Comment #4
mbutcher CreditAttribution: mbutcher commentedWherever possible, we should follow D7 UX, now that the UX guidelines seem to be more or less stable. In the past, a lot of the settings I've added have been quick stop-gap measures for specific bugs. Having a full settings form that covers most use cases (instead of just specific cases) would be great.
Comment #5
falcon CreditAttribution: falcon commented#1 The settings only affect new users. For existing users the settings from the last quiz you created will be copied to the next one. Most of our users will be using more or less the same settings on every quiz they create.
I agree that the UX on the settings form aren't good. Where are these D7 guidelines? (I did try to google it. Didn't spend a lot of time trying though)
It would be great to be able to disable some of the form items, I considered it when I made the settings for for the quiz node form, but I was in a hurry.
Move this issue to 5.x as we are prioritizing to finish 4.0 now.
Comment #6
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.