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


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