if it possible to make a start button using a show : field in views ? not only using a render entity from quiz node i'd like to create a custom start button in views.
is there a relationships node quiz that i should activate in views advance ??

thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

imunklovarian created an issue. See original summary.

imunklovarian’s picture

Title: Start button in views » Start button quiz in views
Issue summary: View changes
Bala.addweb’s picture

FileSize
91.91 KB
62.36 KB
8.25 KB

I created two Links with the help of view's relationship, One(Start Quiz) will directly redirect to start Quiz page and Second (View) will Redirect to quiz's parent node's view page. where we can find a tab for Start Quiz, name 'Take'. My Step For the View Are as below:

- Go to Home » Administration » Structure » Views and create new View for 'Quiz properties'
- Do Following Steps:
#Advanced
- select 'Quiz question relationship: Parent_nid', In Relationships and stay unchecked the option 'Require this relationship',
- Do Check for 'Distinct' in Query Setting
-
# Field Section:
1) Firstly Remove the Quiz question properties: Quiz question properties ID field from field section

2) Firstly Select Quiz question relationship: Parent_nid , Configure field as below:

in the REWRITE RESULTS
- make check for ' Rewrite the output of this field',
- in Text Section 'Start Quiz'; (Button or Link name),
- Check For 'Output this field as a link' and set 'node/[parent_nid]/take' in path
- leave futher options as the same

Save the View.

- In Further Option, you can also Select 'Content: Link' in Field Section of View. Which will redirect to View page Of parent node of Quiz.from there we can create Task By Click on 'Task' tab.

Please find the attached screenshot.

(Note: I have made Questions For true/false Quiz.)

Bala.addweb’s picture

Status: Active » Needs review
djdevin’s picture

"Needs review" items need patches :)

If you want to create a take quiz link or button you can just create a link to node/123/take as you very nicely described above!

djdevin’s picture

Category: Plan » Support request
Status: Needs review » Active
djdevin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.