Solved (might be a better solution though, if anyone cares to critique my 
solution) : 

*Changed the function cleanHtml() from the above version to this version : *
*
*
// in Comments/Controller/Component/CommentsComponent.php 
function cleanHtml($text, $settings = 'full') {
App::import('Helper', 'Comments.Cleaner');
App::uses('View', 'View');
$this->View = new View($this->Controller);
$cleaner = & new CleanerHelper($this->View);
return $cleaner->clean($text, $settings);
}

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to