Customizing Report.html

Hey Community,

I am creating a custom certificate when the end user clicks the view report at the end of the quiz. I have been able to customize the look and feel of the page just have one hangup and I am throwing out to the community. The first question in the quiz is a survey question asking their name. I would like to have only that answer show up on the report and none of the other answers. Any suggestions?

Thanks,

Andy

13 Replies
Barbara Greenstein

Okay, all of this is helpful, but I'm having another issue and perhaps you can help.  I have created a custom report.html and it works fine as long as it is published for the web.  When I publish it for a CD it no longer enters the persons name that has been filled in and the quiz results no longer appears either.  I have copied the report.html file into the quiz_content after publishing, but it does not see to work as it did for the web.  Help please.

Barbara Greenstein

Actually Brian, I did try what you indicated in the link above and it still did not work.  After comparing my customized report.html to the one automatically generated by publishing, I found that an extra line of code was present in my customized file.  I removed the line of code and it worked without a hitch.  The line of code was at the top of the file and read .  Not sure why it was present or how it got there, but removing it seems to make everything better.  Thanks so much for your response.

Scott Johnson

Andy Goldberg said:

I did see that option, but after reading Dave's blog http://daveperso.mediaenglishonline.com/2008/09/30/cheating-in-quizmaker/ he suggested adding the survey question, so that each student had to take the quiz and not cheat. Dave just didn't state how to get only that question and not the rest.


This is a really good idea.  Is there anyway of just writing the answer to question 1 (ie the user's name), and no others?

I guess it's just a matter of tweaking the code, but it needs a greater mind than mine!!!

Larry Hieb

Brian Batt said:

Hi Andy,

Instead of having the first question ask for the end-user's name, have you tried enabling the prompt for username option in Quizmaker.  The name that the user types in should be on the report.html file.  This would be much easier to implement that trying to pull the data from a variable dynamically.


" prompt for username option in Quizmaker"    I this option available to turn on in QM 09?  If yes, could you explain where to do this.

Thanks

Scott Johnson

Larry Hieb said:

Brian Batt said:

Hi Andy,

Instead of having the first question ask for the end-user's name, have you tried enabling the prompt for username option in Quizmaker.  The name that the user types in should be on the report.html file.  This would be much easier to implement that trying to pull the data from a variable dynamically.


" prompt for username option in Quizmaker"    I this option available to turn on in QM 09?  If yes, could you explain where to do this.

Thanks


It's in the Pass Slide.

Brian's solution is by far the simplest, however it does open the scenario where one learner from a group could pass a test with 100%, but all their colleagues take a turn to type their name in and each produce a certificate with 100%...devious practices indeed

I got someone who was far better at coding than me to rebuild the report.html file to show the dynamic variable from question 1, and the score achieved, then turned the inbuilt option off.

Wendy Murphy
Scott Johnson

Larry Hieb said:

Brian Batt said:

Hi Andy,

Instead of having the first question ask for the end-user's name, have you tried enabling the prompt for username option in Quizmaker.  The name that the user types in should be on the report.html file.  This would be much easier to implement that trying to pull the data from a variable dynamically.


" prompt for username option in Quizmaker"    I this option available to turn on in QM 09?  If yes, could you explain where to do this.

Thanks


It's in the Pass Slide.

Brian's solution is by far the simplest, however it does open the scenario where one learner from a group could pass a test with 100%, but all their colleagues take a turn to type their name in and each produce a certificate with 100%...devious practices indeed

I got someone who was far better at coding than me to rebuild the report.html file to show the dynamic variable from question 1, and the score achieved, then turned the inbuilt option off.

I'm at that point right now. Looking for a solution so that students cannot print multiple certificates for every student in the course.

Could you share the code? I'll be very appreciative.  Need to go live in a week, and I don't have resources to resolve this new-to-me issue.