i am making a theme for my cakephp project for that i having a template file and it include a cu3er slider for main page so I guess I need to change this file to php code guys please help me
swfobject.embedSWF("cu3er.swf", "cu3er-container", "960", "400", "9", "expressInstall.swf", flashvars, attributes);
i tried this but not working
swfobject.embedSWF("<? print $this->webroot . 'swf/cu3er.swf'?>, "cu3er-container", "960", "400", "9", "<? print $this->webroot . 'swf/expressInstall.swf'?>", flashvars, attributes);
You can use App::themePath($theme) to get your theme’s path, then do whatever you want from there.
So a file in:
Could be grabbed via: