Hi. I was wondering if we can set/change any settings of …

closed

Hi. I was wondering if we can set/change any settings of all questions at once via database? I wanted to enable ‘paginate’ to all of my questions. Can it be done via SQL query? or any other way?

Also, can the default setting be also set?

Just thinking…. 🙂

This thread has been imported from harmonicdesign.ca/hd-quiz/

December 21, 2022 at 9:18amAsad

Hi Asad,
there is a way to force Quiz Settings, but not Question Settings.

In your case, the best way would be to modify the plugin itself. If you edit hd-quiz/includes/template.php you will see the function hdq_print_jPaginate($quiz_ID);.

All you have to do is move that function outside of the if check and that’s it! As a bonus, you might want to wrap it inside a different if statement to check if $i != 1 so that pagination is not enabled on your first question.

WOW! It works… thanks 🙂

This thread has either been marked as complete or has been automatically closed due to inactivity. Please consider opening a new support thread for help.