Tiny MCE Editor in Test feedback management not saving

Anything about what happens on the user and teacher side
Post Reply
rickjohns
Newbie
Posts: 5
Joined: Sun Aug 09, 2015 8:55 pm

Tiny MCE Editor in Test feedback management not saving

Post by rickjohns »

Hi, using Formal LMS version 1.4.1 and set to use "tinymce" in the configuration settings :

It all works fine if you add (for example) a new HTML page you can edit the text and set h1, colours etc. and save it and it views properly.

However if you want to format the "Feedback Management" of a test it will not save (you can still format everything as above but when you save it , it reverts to standard text).

Anyone else had this problem?

Rick
jasmines
Senior Boarder
Posts: 277
Joined: Fri May 03, 2013 12:29 pm

Re: Tiny MCE Editor in Test feedback management not saving

Post by jasmines »

See in appLms/lib/lib.assessment_rule.php ,

Code: Select all

public function save () {
...
		$feedback_txt =Get::pReq('feedback_txt', DOTY_STRING, '');
Change to:

Code: Select all

		$feedback_txt =Get::pReq('feedback_txt', DOTY_MIXED, '');
rickjohns
Newbie
Posts: 5
Joined: Sun Aug 09, 2015 8:55 pm

Re: Tiny MCE Editor in Test feedback management not saving

Post by rickjohns »

Jasmine, thanks a lot. Works perfectly.
User avatar
canelli
FormaLms Guru
Posts: 496
Joined: Thu Nov 08, 2012 12:21 pm
Version: forma.lms 2.0
Contact:

Re: Tiny MCE Editor in Test feedback management not saving

Post by canelli »

Thanks jasmine
I will insert the correction in the bug tracker
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
---------------
Post Reply