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.

CommentFileSizeAuthor
view-modes.diff1.46 KBSharique
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nagwani’s picture

Marking it for review

mikran’s picture

Issue summary: View changes
Status: Needs review » Needs work

New view mode for 'question' is already in.