On Feb 2, 2011, at 06:38, Huy Nguyen wrote: > I'm totally new to CakePHP so I followed the Blog example up to this point > and get error because $this->Html not found in View. > http://book.cakephp.org/view/1536/Creating-Post-Views > > I believe the right way is $html instead of $this->Html (as pointed out by > another person on Stackoverflow) > > http://stackoverflow.com/questions/4873781/htmlhelper-not-loaded-in-tutorial-example > > So I think someone with authority should edit the example in the Book?
$html was the way for CakePHP 1.2.x. $this->Html is the way for CakePHP 1.3.x. $html is deprecated and will be removed, possibly in CakePHP 2.0.x. -- 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