What version of Cake are you using?

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 2 Feb 2011, at 12:43, Huy Nguyen wrote:

> Sorry for being brief. The error is described in the stackoverflow link.
> Notice (8): Undefined property: View::$Html [APP\views\posts\index.ctp, line 
> 27]
> 
> Here is the line:
> echo $this->Html->link($post['Post']['title'], array('controller' => 'posts', 
> 'action' => 'view', $post['Post']['id'])); 
> 
> I guess it doesnt load the HtmlHelper to View::$Html but instead to global 
> variable $html?
> 
> On Wed, Feb 2, 2011 at 7:40 PM, andy_the ultimate baker 
> <[email protected]> wrote:
> clarify ur error clearly
> 
> 
> On Feb 2, 5:38 pm, Huy Nguyen <[email protected]> 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-t...
> >
> > So I think someone with authority should edit the example in the Book?
> >
> > Huy
> 
> --
> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php
> 
> 
> -- 
> 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
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to