tester2102 Posted February 21, 2012 Share Posted February 21, 2012 Hallo I have create a own header in .swf file and I want integrate this on the top from the page. How must I do this and which file must I change this? I have try all, but I don't find this!!! Thanks a lot for your help!!!! tester2102 Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 21, 2012 Share Posted February 21, 2012 Hello! You need to edit header.tpl and make sure to recompile it. Link to comment Share on other sites More sharing options...
tester2102 Posted February 22, 2012 Author Share Posted February 22, 2012 Hallo I was in the header.tpl...here the code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} <script type="text/javascript" src="{$content_dir}js/tools.js"></script> <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var roundMode = {$roundMode}; </script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery.easing.1.3.js"></script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery.hotkeys-0.7.8-packed.js"></script> {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} <noscript><ul><li>{l s='This shop requires JavaScript to run correctly. Please activate JavaScript in your browser.'}</li></ul></noscript> <div id="page"> <!-- Header --> <div id="header"> <h1 id="logo"> </h1> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="columns"> <!-- Left --> <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column"> {/if} The problem I have create the flash header in the top from Layout, but I don't find the flash file or the code and where must I change this. Thanks for your help!!! Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 22, 2012 Share Posted February 22, 2012 The problem I have create the flash header in the top from Layout, but I don't find the flash file or the code and where must I change this. Thanks for your help!!! What do you mean, you can't find the flash file? You place the code, e.g: <embed src="[PATH_TO_SWF_FILE]" height="[HEIGHT]" width="[WIDTH]"/> where you want it to appear. Link to comment Share on other sites More sharing options...
tester2102 Posted February 29, 2012 Author Share Posted February 29, 2012 Hallo I use the SotEW’s Adds module and I can not upload the new .swf file. I have try this but nothing is changed. modules/sotewsadds/files/Header.html is the html file, which create from flash and .swf file. I was under themes/prestashop/header.tpl and I have follow code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:html:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} <script type="text/javascript" src="{$content_dir}js/tools.js"></script> <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var roundMode = {$roundMode}; </script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery-1.2.6.pack.js"></script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery.easing.1.3.js"></script> <script type="text/javascript" src="{$content_dir}js/jquery/jquery.hotkeys-0.7.8-packed.js"></script> {if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach} {/if} {$HOOK_HEADER} </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} <noscript><ul><li>{l s='This shop requires JavaScript to run correctly. Please activate JavaScript in your browser.'}</li></ul></noscript> <div id="page"> <!-- Header --> <div id="header"> <h1 id="logo"> </h1> <div id="header_right"> {$HOOK_TOP} </div> </div> <div id="columns"> <!-- Left --> <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column"> {/if} Where must I edit the .swf flash code? Thanks for your help!!! Link to comment Share on other sites More sharing options...
CartExpert.net Posted February 29, 2012 Share Posted February 29, 2012 Hi, First of all you should check if the swf file has been really uploaded. It should be in 'modules/sotweadds/files/' Link to comment Share on other sites More sharing options...
tester2102 Posted March 5, 2012 Author Share Posted March 5, 2012 Hallo thanks for you replay. Also I have check this and all fine and the flash is very well working in flash CS4 and in HTML file, but not on this my Prestashop website. Here the follow Source code part, when I click on the web page: <div id='sotewsadds' class="Header"> <p><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=6,0,47,0" id="animation" width="1000" height="282"> <param name="movie" value="/art-gallery/modules/sotewsadds/files/Header"> <param name="quality" value="high"> <param name="bgcolor" value="#FFFFFF"> <param name="wmode" value="transparent"> <embed src="/art-gallery/modules/sotewsadds/files/Header" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1000" height="282" wmode="transparent"></embed> </object></p> </div> <!-- /MODULE Block SotEW's Adds Header--> Thanks for your help!!! Link to comment Share on other sites More sharing options...
CartExpert.net Posted March 6, 2012 Share Posted March 6, 2012 Hi, The script is missing the swf files name. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now