In latest release of Cakephp 1.2, i am trying to do

echo $javascript->link(array('prototype','scriptaculous.js?load=effects'))
in my default.ctp file in layouts folder

But i get the following errors:

Undefined variable: javascript [*APP\views\layouts\default.ctp*, line *43*]
*Fatal error*: Call to a member function link() on a non-object in *
C:\xampp\htdocs\app\views\layouts\default.ctp* on line *43*
**
What is the problem? thanks

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