Ok i'm going round and round in circles with this one but trickle assesment I just cant get to work (have working elsewhere without assessment or question componants)
On output the elements seem to be there but with an opacity of 0 and nothing showing on the page. If I take off trickle and assessment it shows, if I take off assessment option on article it does not work either. I am stumped
so the article has;
{
"_id":"oralCancer-07-a-01",
"_parentId":"oralCancer-07",
"_type":"article",
"_classes":"",
"title":"Learning Points & Knowledge Check",
"body":"",
"_trickle": {
"button": {
"continue": "Continue"
}
},
"_assessment": {
"_isPercentageBased" : true,
"_scoreToPass" : 50,
"_completionMessage" : {
"title" : "You have finished the assessment",
"message": "You scored [SCORE] out of [MAXSCORE]. [FEEDBACK]"
},
"_bands": [
{
"_score": 0,
"feedback": "You're score was below 25%. Why not have another try?"
},
{
"_score": 25,
"feedback": "You're score was below 50%. Why not have another try?"
},
{
"_score": 50,
"feedback": "Great work. You passed the knowledge check."
}
]
}
}
With assigned blocks;
{
"_id": "oralCancer-07-a-01-b-01",
"_parentId": "oralCancer-07-a-01",
"_type": "block",
"_classes": "",
"title": "Learning Points",
"body": "",
"_trackingId": 0
},
{
"_id": "oralCancer-07-a-01-b-02",
"_parentId": "oralCancer-07-a-01",
"_type": "block",
"_classes": "",
"title": "Question 1",
"body": "",
"_trackingId": 0
},
{
"_id": "oralCancer-07-a-01-b-03",
"_parentId": "oralCancer-07-a-01",
"_type": "block",
"_classes": "",
"title": "Question 2",
"body": "",
"_trackingId": 0
},
and components (shortened for pasting purposes);
,
{
"_id": "oralCancer-07-a-01-b-01-c-01",
"_parentId":"oralCancer-07-a-01-b-01",
"_type":"component",
"_component":"media",
"_classes":"",
"_layout":"full",
"title":"",
"media": {
"mp4": "course/en/video/big_buck_bunny.mp4",
"ogv": "course/en/video/big_buck_bunny.ogv"
},
"body": "Learning Points Review"
},
{
"_id": "oralCancer-07-a-01-b-02-c-01",
"_parentId":"oralCancer-07-a-01-b-02",
"_type":"component",
"_component":"textinput",
"_classes":"",
"_layout":"left",
"title": "Q1",
"body": "The most effective oral sffective oral screening involve?</b> ",
"_attempts": 1,
"placeholder": "Enter your answer her then click submit",
"_allowsAnyOrder": false,
"_allowsAnyCase": true,
"_allowsPunctuation": false,
"_questionWeight":10,
"buttons": {
"submit": "",
"reset": "",
"showCorrectAnswer": "",
"hideCorrectAnswer": ""
},
"feedback": {
"correct": "Ideally thef any lesion.",
"incorrect": "Ideally the sof any lesion.",
"partly": "Ideally the sc lesion."
},
"items": [
{
"prefix": "",
"suffix": "",
"answers": []
}
]
},
{
"_id": "oralCancer-07-a-01-b-02-c-02",
"_parentId":"oralCancer-07-a-01-b-02",
"_type":"component",
"_component":"graphic",
"_classes":"",
"_layout":"right",
"title":"",
"body":"",
"graphic": {
"alt": "alt text",
"title": "title text",
"large": "course/en/images/origami-menu-two.jpg",
"medium": "course/en/images/origami-menu-two.jpg",
"small": "course/en/images/origami-menu-two.jpg"
}
},
{
"_id": "oralCancer-07-a-01-b-03-c-02",
"_parentId":"oralCancer-07-a-01-b-03",
"_type":"component",
"_component":"graphic",
"_classes":"",
"_layout":"left",
"title":"Q2",
"body":"Idenmit.",
"graphic": {
"alt": "alt text",
"title": "title text",
"large": "course/en/images/origami-menu-two.jpg",
"medium": "course/en/images/origami-menu-two.jpg",
"small": "course/en/images/origami-menu-two.jpg"
}
},
{
"_id": "oralCancer-07-a-01-b-03-c-01",
"_parentId":"oralCancer-07-a-01-b-03",
"_type":"component",
"_component":"mcq",
"_classes":"",
"_layout":"right",
"_attempts":1,
"_questionWeight":1,
"_isRandom":true,
"_selectable":1,
"title": "",
"body": "",
"items": [
{ "text": "Delayed referrals","shouldBeSelected":true },
{ "text": "Dival", "shouldBeSelected":true},
{ "text": "Failure to refer", "shouldBeSelected":true}
],
"feedback":{
"correct":"correct answer.",
"partly":"Not ent.",
"incorrect":"wong."
},
"buttons": {
"submit": "",
"reset": "",
"showCorrectAnswer": "",
"hideCorrectAnswer": ""
}
}