Tidy filter turned on in Moodle but not working? PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Ken Task   
Monday, 02 August 2010 07:56
AddThis Social Bookmark Button
Could be php support for tidy is not installed!  By default tidy is not compiled into the original php  package on CentOS 5.x.  You can check via this command:

php -m

That should provide a list for all the mods php supports.
Towards the bottom of the listing you should see tidy listed.

If you do not, here's the "fix"! As root user:

yum -y install php-tidy libtidy [ENTER]

Remember to restart apache for it to pick up on changes to php.

/sbin/service  httpd restart [ENTER]

Now go do some copy and paste from a Word doc in a Moodle web page to see if the "junk" isn't cleaned out for ya on the fly! ;)

Credit where credit is due ... SOS member Randon Lance of ESC15 put me onto this issue.  Thanks, Randon!
 
 
Total Views: 299