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:
>
> <?php
> echo ($javascript->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 10
>
> Fatal error: Call to a member function link() on a non-object in E:
> \xampp\htdocs\portfolio\app\views\layouts\default.thtml on line 10
>
>
> >
>


-- 
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to