Custom Sorting questions in Question Bank

Johnny Flores
Forums
Is there a way to filter the questions in the question bank using a different field? I added a required field for the multiple choice questions so that teachers would be forced to check ALGEGRA, BIOLOGY etc. whenever they are creating a multiple choice question. What I want to do is sort those questions by SUBJECT when creating a quiz. The bank has grown so much that this feature is needed to find questions relevant to the quiz being created. Any ideas would be appreciated. Thanks Johnny Flores
axel

Hi

Hi

Adding a field with category is a good idea.

You would have now to alter the table to add this additional field and allow to filter according to it.

Best regards

Johnny Flores

hi.

Thanks axel, how do I access the table settings?
Johnny Flores

Help,

Hello, Could you point me in the right direction? I added a drop down menu to my multiple choice questions so that teachers would be required to choose a content area. Biology for example. I want to be able to filter the questions by Biology on the "Browse for questions to add" page. I tried to find a view for this page but could not find one. Its this hard coded? Any ideas would be appreciated. Please links with pic of the pages. Thanks http://postimg.org/image/tx7u8sq1t http://postimg.org/image/e092c2xnl
Profile picture for user James Aparicio
James Aparicio

Hi Jonny Flores,

Hi Jonny Flores,

To edit this table you can look into _quiz_question_browser_form function inside quiz.admin.inc.

Either you change the code and create a patch to apply each time Opigno is updated, or you create your own module and do a form alter in your own module.

 

Best regards