The Elearning Community • Where do you edit / delete questions from quest bank?
Page 1 of 1

Where do you edit / delete questions from quest bank?

Posted: Tue Dec 04, 2012 8:12 pm
by docebogal
In 4.05, I can't find where to edit / delete questions from the question bank.
There are no "edit" or "delete" icons under LMS/Course/Teacher Area/Quest Bank ?
(only option I can see is to add)
thanks,

Re: Where do you edit / delete questions from quest bank?

Posted: Wed Dec 05, 2012 2:20 pm
by max
Hello,
it appears that Question bank in D405 is broken and needs fixing.

Re: Where do you edit / delete questions from quest bank?

Posted: Mon Dec 17, 2012 1:02 pm
by canelli
It's a problem with the js that handle the 'question bank' page.
To fix , you must edit ajax.quest_bank.js in folder doceboLms\modules\quest_bank with a text editor and add the above two lines just after line 259

Code: Select all

			, {key:"mod_quest", 		label:QB_DEF.mod_quest_img, 	formatter:this.formatModQuest}
			, {key:"del_quest", 		label:QB_DEF.del_quest_img, 	title: 'Deletea', formatter:this.formatDelQuest}
The code before correction looks like

Code: Select all

....
			{key:"title_quest", 	label:QB_DEF.title_quest, 		formatter:this.formatTextQuest },
			{key:"difficult", 		label:QB_DEF.difficult, 		formatter:this.formatDifficultQuest }
		];
		if(use_mod_action) {
...
after

Code: Select all

...
			{key:"title_quest", 	label:QB_DEF.title_quest, 		formatter:this.formatTextQuest },
			{key:"difficult", 		label:QB_DEF.difficult, 		formatter:this.formatDifficultQuest }
			, {key:"mod_quest", 		label:QB_DEF.mod_quest_img, 	formatter:this.formatModQuest}
			, {key:"del_quest", 		label:QB_DEF.del_quest_img, 	title: 'Deletea', formatter:this.formatDelQuest}
		];
		if(use_mod_action) {
...
Here you can find the file already pached, you must unzip in your web folder

Re: Where do you edit / delete questions from quest bank?

Posted: Tue Dec 18, 2012 1:33 am
by docebogal
Thank you!

Re: Where do you edit / delete questions from quest bank?

Posted: Fri Nov 22, 2013 12:38 pm
by alberto
The fix has been added to Forma Lms ;)