Re: Blog example not working - need edit in View

2011-02-24 Thread Huy Nguyen
I think what dalvarez spotted out is exactly why I got into this problem! Thank you! On Mon, Feb 14, 2011 at 5:25 AM, dalvarez wrote: > > I actually ran across the same exact problem. After looking at CakePHP's > downloads page on Github, I noticed that 1.3-dev.zip was listed higher than > 1.3.

Re: Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
php > > and don't use $html as variable and it should work > > > > > > On 2 Feb., 17:50, ibejohn818 wrote: > >> What version of PHP/Server/Operating system are you running on? > >> > >> This very well could be the issue. > >> &

Re: Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
hat the Html helper is not loaded. Try adding 'Html' > to your list of helpers (and 'Form' for good measure, as that will be > missing too). > > > Jeremy Burns > *Class Outfit* > * > * > jeremybu...@classoutfit.com > http://www.classoutfit.com > &

Re: Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
I just downloaded and installed from http://cakephp.org/ within a few hours ago. 1.3.7 Yeah I tried $html->link instead of $this->Html. It works now. I just thought someone might clarify and amend the example for those who attempt at it later on? :) Huy -- Our newest site for the community: Ca

Re: Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
ssoutfit.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-&

Re: Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
osts', '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 < anandghaywankar...@gmail.com> wrote: > cla

Blog example not working - need edit in View

2011-02-02 Thread Huy Nguyen
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: