Page 1 of 1

Adding a Field to Quizzard Answers page

Posted: Mon Nov 04, 2013 1:18 pm
by blackrain
I have been asked to a quiz module to a website and because CMS Made Simple is used for the CMS, I have found Quizzard available and fits the bill perfectly, well almost anyway.

My question is: How can I add and extra field to the answer section that gives the user an explination for the correct answer e.g.

Q. which is faster

A. a car or B. a bicycle

When the quiz is finished the score is shown

Q. which is faster

A. a car or B. a bicycle

Correct answer is A. a car - Because it does rely on a person for power


This may seem simplistic but not for me, I am lost a bit here, can't seem to get the form from action.editquestion.php, Quizzard.module.php and editquestion.tpl to submit to the Db.

I am not that good at creating modules for CMSMS but I do understand php and smarty concepts and feel i am missing something in the files and/or code.

Thank you in advance for your time and help

regards

Mark Starkey

Re: Adding a Field to Quizzard Answers page

Posted: Tue Nov 05, 2013 9:19 am
by velden
As the page in the forge states this project is stale. It's a long time ago it has been updated.

That said, it should never be necessary to modify module files. All options and templates should be set/changed via admin pages or parameters in module call. Those changes should then automatically be stored in database.