Just use the Helper Html in your Controller.

        public $helpers = array('Html','Javascript');

On Sep 9, 9:17 am, Jeremy Williams <cop...@gmail.com> wrote:
> I did the blog tut on: "http://book.cakephp.org/view/1528/Blog"; and i
> have an error: "Notice (8): Undefined property: View::$Html [APP\views
> \posts\index.ctp, line 4]"
>
> basically i am too new to cakephp to understand what this means or how
> to fix it. Here is some other information it gives me, hope it can
> help you help me.
>
> <h1>Blog posts</h1>
>
> <p><?php echo $this->Html->link("Add Post", array('action' =>
> 'add')); ?></p>
>
> include - APP\views\posts\index.ctp, line 4
> View::_render() - CORE\cake\libs\view\view.php, line 718
> View::render() - CORE\cake\libs\view\view.php, line 417
> Controller::render() - CORE\cake\libs\controller\controller.php, line
> 861
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 243
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 206
> require - APP\webroot\index.php, line 83
> [main] - CORE\index.php, line 55

-- 
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