Re: Error javascript?

2007-02-19 Thread Mech7
Thanks yes the tutorial did not say that i had to create app_controller :) On Feb 19, 4:52 pm, "palPalani" <[EMAIL PROTECTED]> wrote: > hi, > > you should add the following line in app/app_controller.php file. > > var $helpers = array('Javascript'); > > On Feb 19, 8:06 pm, "nate" <[EMAIL PROTECTE

Re: Error javascript?

2007-02-19 Thread palPalani
hi, you should add the following line in app/app_controller.php file. var $helpers = array('Javascript'); On Feb 19, 8:06 pm, "nate" <[EMAIL PROTECTED]> wrote: > That means either you haven't added "Javascript" to your $helpers list > in your controller *or* you're missing something like a cl

Re: Error javascript?

2007-02-19 Thread nate
That means either you haven't added "Javascript" to your $helpers list in your controller *or* you're missing something like a class or database table. Starting out, your best bet is to wrap your two echo statements in wrote: > I have tried to add the javascript links in the way it says in many

Re: Error javascript?

2007-02-19 Thread Samuel DeVore
have you added var $helpers = array('Javascript'); you may need more then Javascript, I will often also have Form, Html, Time, Text, MyUberHelper as well On 2/19/07, Mech7 <[EMAIL PROTECTED]> wrote: > > I have tried to add the javascript links in the way it says in many > tutorials like: > > ec

Error javascript?

2007-02-19 Thread Mech7
I have tried to add the javascript links in the way it says in many tutorials like: link('prototype')); echo ($javascript->link('scriptaculous')); ?> But everytime it throws up an error? Notice: Undefined variable: javascript in E:\xampp\htdocs\portfolio\app \views\layouts\default.thtml on line