Hi guys,
I'm working on an exciting project and played around with quiz. It's great. Here's what I'm trying to do, im looking for pointers:
1) I have a quiz content type
2) A discussion content type
3) entityreference & entityreference_prepopulate
When a quiz is made, questions are attached to it. After a student takes the quiz, on the report form they may have questions regarding the "best answer" shown. I want to include a link on this display, below answers that says, 'Discuss this'. This should link to a discussion node type for that 'question' ONLY.
For answers that do not have a discussion YET, a link shows up that when clicked triggers a rule that creates the discussion node for the question...
I need help knowing where to touch and the implementation that I can look at. I'm a newbie, and not afraid to get my hands dirty in code.
Thanks.
Comments
Comment #1
djdevinThis is old but interesting
Since 5.0 questions, and question results (the user's attempt) are entities so it is theoretically possible to attach comments to the entities. So you could have comments that are about only the user's attempt at that question, and not everyone's attempt.
There are a few modules like https://www.drupal.org/project/commentfield and https://www.drupal.org/project/reply that could possible be integrated.