Tuesday, November 25, 2008

Help with cake and soundmanager2

I'm putting together a cake app with an inline mp3 player using
soundmanager2 similar to this demo: http://www.schillmania.com/projects/soundmanager2/demo/page-player/
. I'm using <?php echo $scripts_for_layout; ?> to get the
soundmanager2 javascripts into the head, and everything works fine
when a page is first pulled up, but when I link to a different
controller <? echo $html->link('Song by Genre', '/genres/'); ?> or <?
echo $html->link('All Songs', '/songs/'); ?> from the navigation I put
in the default layout, the javascripts are not working properly. Is it
possible that cake isn't reloading the entire page. I have view
caching turned off site wide. (//core.php Configure::write
('Cache.disable', true);)

If I don't use the navigation i put in the default layout and just
type the controller and action name into the browser manually it works
fine.

any help would be much appreciated. I'm stuck.

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