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


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