I've got a flash file that I want to include on all pages of a site so I'm trying to include it in the layout (default.ctp). I need to set the param value where name = movie and the src value under the embed tag to the path of the actual swf flash file. I can't for the life of me figure out how to do this so that it is always in reference to the webroot. If I try and just set this value statically it will work for some directories but not for others. For example my app is located at
http://localhost/cake/tasks I set up a dummy view called template at http://localhost/cake/tasks/template If I put the swf flash file in the files folder under webroot (webroot/ files/logo.swf) and I set the url path statically (to files/logo.swf) then I can get it to show up on the tasks page, but it won't show up if I try and go to the template view. (I do also have an index view.) Anybody shed some light on what I can do? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
