Hi,
There are a number of posts kicking around with this error when trying
to use scripaculous libraries. The docs say that you just need to
include prototype and scriptaculous
1. echo $javascript->link('prototype');
2. echo $javascript->link('scriptaculous');
but this gives an error when just included in a view. The way to fix
it (for me anyway) is to also include the effects and controls
libraries, thus:
<?php
echo $javascript->link('prototype');
echo $javascript->link('scriptaculous');
echo $javascript->link('effects');
echo $javascript->link('controls');
?>
it also needs to be in this order.
Hope this helps someone
Conrad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---