In all likelyhood your controllers do not have the var $helpers =
array('Javascript','Ajax');

On 9/13/06, TWIOF <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a the following code in my default.thtml layout:
> echo $javascript->link('scriptaculous.js?load=effects')
> it works on my index page but doesn't on deeper pages.
>
> I Get the following error:
>
> Notice: Undefined variable: javascript in C:\apache2triad
>
> I have also tried:
>
> if(isset($javascript)){
>         echo $javascript->link('common');
>         echo $javascript->link('prototype');
>         echo $javascript->link('scriptaculous.js?load=effects');
>         echo $javascript->link('flashobject');
> }
>
> which, again, works on the home page but not on any others (it simply
> doesn't echo the link)
>
> Any help would be mutch appreciated
>
> TWIOF
>
>
> >
>


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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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