Hi all!
I've been trying to use helpers in the default layout, so I copied
pages_controller.php to my app's controllers dir, added the javascript
helper to the uses array, and added a call to the javascript helper in
/app/views/layouts/default.thml :

<?php echo $javascript->link('myjs');?>

but I get 'Fatal error: Call to a member function on a non-object' on
that line.
Am I missing something or is it not possible to use other helpers on the
default layout?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to