Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
We come across a scenario where are we want to show a question associated with the node. We applied patch #1194158 (Allow answering of quiz questions outside of a quiz), to display question. Now it is showing both answering form and answer at the same time. To fix this I've created to 2 different node views (Question and Answer) to display answering form and answer respectively. It is also useful to custom message based of which form is being displayed.
Comment | File | Size | Author |
---|---|---|---|
view-modes.diff | 1.46 KB | Sharique | |
Comments
Comment #1
nagwani CreditAttribution: nagwani commentedMarking it for review
Comment #2
mikran CreditAttribution: mikran commentedNew view mode for 'question' is already in.