I have this in the header of the default.ctp:
<?
if ($javascript) {
e($javascript->link('swfobject'));
}
?>
I have Javascript in my helper of the HomePages controller. In fact
when I go to:
http://localhost/xchange/admin/home_pages/index
My javascript works just fine... however, when I go to any other admin
page like:
http://localhost/xchange/admin/home_pages/add
or
http://localhost/xchange/admin/home_pages/view/2
The $javascript does not exist.
Any suggestions? And thanks for your help!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment