Where do you edit / delete questions from quest bank?

Anything about what happens on the user and teacher side
Post Reply
docebogal
FormaLms User
Posts: 55
Joined: Thu Nov 08, 2012 11:58 pm

Where do you edit / delete questions from quest bank?

Post 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,
User avatar
max
FormaLms Guru
Posts: 2770
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

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

Post by max »

Hello,
it appears that Question bank in D405 is broken and needs fixing.
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

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

Post 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
Attachments
docebo405_patch-question.zip
(4.33 KiB) Downloaded 360 times
Cercate nel forum le riposte prima di chiedere. Check the forum before posting
---------------
Claudio Anelli
Joint Technologies - Sistemi avanzati per l'information technology

http://www.joint-tech.com
---------------
docebogal
FormaLms User
Posts: 55
Joined: Thu Nov 08, 2012 11:58 pm

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

Post by docebogal »

Thank you!
User avatar
alberto
FormaLms Guru
Posts: 1155
Joined: Fri Mar 02, 2012 9:18 am
Contact:

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

Post by alberto »

The fix has been added to Forma Lms ;)
Post Reply