tony09uk Posted June 18, 2011 Share Posted June 18, 2011 I have created a flash slide show I would like to add on my home page (in place of the ipod's). Can someone please advise how its done...many thanks Link to comment Share on other sites More sharing options...
pasko Posted June 19, 2011 Share Posted June 19, 2011 Hi,You can do it true your module home text editor.Regards :coolsmile: Link to comment Share on other sites More sharing options...
xbfish Posted June 19, 2011 Share Posted June 19, 2011 If you do want want to embed the flash source into home text editor, you can also embed it under /themes/header.tpl Right after Link to comment Share on other sites More sharing options...
tony09uk Posted June 20, 2011 Author Share Posted June 20, 2011 I have gone to MODULES>HOME PAGE TEXT EDITOR and home page logo, selected browse files and inputted my swf. When I previewed my home page, there was nothing there. What have I done wrong? Link to comment Share on other sites More sharing options...
xbfish Posted June 20, 2011 Share Posted June 20, 2011 You have to input your swf @ /modules/editorial/editorial.tplRemember to clear your Prestashop cache, or temporary disable the cache and enable Smarty force recompile at Back-Office -> Performance. Link to comment Share on other sites More sharing options...
tony09uk Posted June 20, 2011 Author Share Posted June 20, 2011 XBfish thanks for your reply, but I don't seem to be able to work out how to do it still.1st I have opened modules/editorial/editorial.tpl in Dreamweaver but Im not sure where to put the file, I have no knowledge of PHP and I get this code: {if $editorial->body_home_logo_link}body_home_logo_link|escape:'htmlall':'UTF-8'}" title="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}">{/if} {if $homepage_logo}getMediaLink($image_path)}" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if} {if $editorial->body_home_logo_link}{/if} {if $editorial->body_logo_subheading}{$editorial->body_logo_subheading|stripslashes} {elseif $editorial->body_logo_subheading}{$editorial->body_logo_subheading}{/if} {if $editorial->body_title}{$editorial->body_title|stripslashes} {elseif $editorial->body_title}{$editorial->body_title|stripslashes}{/if} {if $editorial->body_subheading}{$editorial->body_subheading|stripslashes} {elseif $editorial->body_subheading}{$editorial->body_subheading|stripslashes}{/if} {if $editorial->body_paragraph}{$editorial->body_paragraph|stripslashes} {elseif $editorial->body_paragraph}{$editorial->body_paragraph|stripslashes}{/if} Could you please advise where i should put it?2ndWhat do you mean by "clear your Prestashop cache, or temporary disable the cache and enable Smarty force recompile at Back-Office -> Performance" what difference would it make? I have looked in Back Office > Preferences > Performance and can't see any of the afore mentioned.Your help is and will be greatly appricitaed Link to comment Share on other sites More sharing options...
xbfish Posted June 20, 2011 Share Posted June 20, 2011 Answer to your 1st question:Delete or comment using (!--) all code in between: delete or comment ALL THE CODES are here.... From here, insert your flash file as follow: insert your swf here.... For your 2nd question:Prestashop does cache your theme file so that end-users will be able to load the site faster. If you have cache enabled, any changes to Prestashop template files will not be reflected. As such, you need force Smarty (Prestashop engine) to recompile the templates and disable temporary disable the cache. Once you are done editing all the template files in Prestashop or when you are uploading Prestashop to a live server, you should disable Smarty force recompile and enabled cache. This is to enable less loading time for your customers. 1 Link to comment Share on other sites More sharing options...
xbfish Posted June 20, 2011 Share Posted June 20, 2011 Please also marked as solved if you managed to get your swf up. There shouldn't be any problem. Link to comment Share on other sites More sharing options...
tony09uk Posted June 24, 2011 Author Share Posted June 24, 2011 This is getting embarrassing....I have commented out the code and added my swf, but I am still seeing the image I had up prior to adding the SWF Link to comment Share on other sites More sharing options...
tony09uk Posted June 24, 2011 Author Share Posted June 24, 2011 Ive also tried deleting the image file from the folder but when I did there was nothing displayed. Link to comment Share on other sites More sharing options...
xbfish Posted June 24, 2011 Share Posted June 24, 2011 Have you cleared the cache @ Back-Office -> Preferences -> Performance ? Check Yes on Force Recompile and check No for cache. Link to comment Share on other sites More sharing options...
tony09uk Posted June 27, 2011 Author Share Posted June 27, 2011 I have done what has been mentioned above. But when I do, the whole center section, including the text disappears. What obvious thing am I doing wrong?PSMy file works fine Link to comment Share on other sites More sharing options...
xbfish Posted June 28, 2011 Share Posted June 28, 2011 can i have the URL to see your site? Link to comment Share on other sites More sharing options...
tony09uk Posted June 28, 2011 Author Share Posted June 28, 2011 I will sort out a free hosting service and pass it on to you, give me a couple of days. Should I try and put the Flash file as I think it should go first?Also how do I go about uploading a PHP file. IE the connecting the SQL databases. So far I have been working with xampp Link to comment Share on other sites More sharing options...
xbfish Posted June 28, 2011 Share Posted June 28, 2011 include the flash file when uploading to a live server.It's the same as working with xampp. Change the settings in /config/settings.inc.php accordingly. Link to comment Share on other sites More sharing options...
Recommended Posts