bulk upload the extra content .csv
I’m using Hd quiz, I want to bulk upload extra content in the same csv file with questions and answer.
Hi amit,
I have good news for you – this is already built in, but is hidden because it’s not a feature I want to advertise/offer support for. This is because that field can accept most HTML tags, but the importer forces sanitation as plain text for security – and I have enough grief helping people debug normal CSV files without adding HTML formatting to the mix haha.
So please make sure that you only use plain text for that field in the CSV file.
In order to use, all you have to do is add the Extra Content text to the N column (the 14th column, the one after the “correct answer” column).
Dear Dylan
Thank you so much for all your support—I promise I’m not planning to be a daily bother!
I have a small request: could you please share a list of all the “hidden features”?
I’m planning to create a quiz that can later be integrated with Save Result Pro to supercharge our students’ learning (and maybe secretly make me look like a wizard 🪄).
Your help would be greatly appreciated—and I promise to use my newfound powers responsibly! 🙏
This isn’t everything, but a lot can be found on the documentation page under “secret settings“.
Is it possible to assign a unique question ID to each question, so that individual questions can be easily identified in a large question bank?
Can you explain how you’d want to use this? Questions already have unique IDs assigned to them.
An easy way to find the ID is to edit a question and look at the URL.
For example: ?page=hdq_quizzes#/question/40/2503
In the above URL, 40 is the Quiz ID, and 2503 is the Question ID.
I WANT TO SHOW QUESTION ID ABOVE QUESTION SO THAT IT CAN BE USED FOR REFERENCE BY USER.
This won’t be something I plan on adding as a dedicated feature, as I feel that this feature is very specific to your use case and needs. However, this may change if more people request this.
To make this change, you’ll need to make a small edit to the plugin directly, and you’ll need to make this edit every time you update HD Quiz.
If you edit ./hd-quiz/classes/quiz.php, on line 810 you will see:
$html .= '<a>quiz_id . '/' . $question_id . '" class = "hdq_quiz_item hdq_quiz_question hd_kb" data-id = "' . $question_id . '" tabindex = "0"><span>≡</span><span>' . $menu_number . ". " . $title . '</span></a>';
We will be changing it to also print the question id before the question title (with some added bonus styling).
$html .= '<a>quiz_id . '/' . $question_id . '" class = "hdq_quiz_item hdq_quiz_question hd_kb" data-id = "' . $question_id . '" tabindex = "0"><span>≡</span><span>' . $menu_number . '. <span>' . $question_id . '</span> ' . $title . '</span></a>';
Respond to thread
This thread has been closed / marked as resolved.
You can reply to this thread, but it might be better to start a new thread if you need help.
You can also upload images to imgur and paste the links here. Just make sure that your images don't include any sensitive information.
Submit