robvr6 Posted January 8, 2011 Share Posted January 8, 2011 Hi all,Is it possible to add a flash file Ive created to the homepage atthe top. Where the ipods lined up are on the default template. If so how is this possible - Ive searched and searched without any success.Thanks in advanceR Link to comment Share on other sites More sharing options...
rocky Posted January 9, 2011 Share Posted January 9, 2011 Edit category.tpl in your theme's directory and put the Flash code before line 17 (in PrestaShop v1.3.5): {if $scenes} Link to comment Share on other sites More sharing options...
robvr6 Posted January 10, 2011 Author Share Posted January 10, 2011 Thanks - just one more thing which file will I need to add the javascript and <!--[if !IE]>--> </object> <!--</object> swfobject.registerObject("FlashID"); Thanks in advance R Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 Put the link to the Javascript in header.tpl before the </head> tag. Put the <object> code in category.tpl. Link to comment Share on other sites More sharing options...
robvr6 Posted January 10, 2011 Author Share Posted January 10, 2011 do I need to remove the image somehow as Ive tried what you said but the image is still there and no flash Link to comment Share on other sites More sharing options...
rocky Posted January 10, 2011 Share Posted January 10, 2011 It shouldn't make a difference. You can delete the image anyway by going to Catalog > Image mapping and deleting the image maps. Link to comment Share on other sites More sharing options...
robvr6 Posted January 10, 2011 Author Share Posted January 10, 2011 OK I'm totally lost now lol and I understand if you dont have time to help anymore but heres my set up if you can shed any light on this.I have a swf named banners which loads images via xml into this from a folder banners when the swf is usually inserted in a page it adds then the object code where its wanted <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="300"> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. --> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="banner.swf" width="590" height="300"> <!-- <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. --> Content on this page requires a newer version of Adobe Flash Player. <!--[if !IE]>--> </object> <!--</object> and then at the bottom of the page swfobject.registerObject("FlashID"); but Im just totally baffled and confused now - is it a problem with pats or my calling the js code any helps is appreciated. If I do get this working - it will only show on the homepage wont it?ThanksR Link to comment Share on other sites More sharing options...
Recommended Posts