hunter204 Posted June 17, 2010 Share Posted June 17, 2010 I have a flash html and has a folder as follows:flash -> (header.swf)images -> (image1, image2)js -> (swfobjects.js, Terms.js)sounds -> (mp3)flash.htmI want to put this html to my header.tpl and must be located at the top most but my problem is how to display it? I have no idea how to display the html. Please help thnx Link to comment Share on other sites More sharing options...
bartman Posted June 17, 2010 Share Posted June 17, 2010 this module might do the job for you, otherwise you are going to have to edit header.tpl in your theme directoryhttp://www.ecartservice.net/04082009/addheader-a-sibling-for-addstuff/regardsChris Link to comment Share on other sites More sharing options...
hunter204 Posted June 17, 2010 Author Share Posted June 17, 2010 thanks,that's what I'm planning to do edit my header.tpl but I don't know how to code it or what code to be use so my html page will be displayed in my header. Link to comment Share on other sites More sharing options...
hunter204 Posted June 18, 2010 Author Share Posted June 18, 2010 this is the code of my header.html <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="We provide free flash templates, free templates, free flash header"/> <meta name="keywords" content="free flash buttons, free templates, free flash header"/> <!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE--> [removed][removed] <!--END OF TERMS OF USE--> [removed][removed] [removed] var flashvars = { custom_xml_url : "custom.xml" }; var params = { bgcolor: "#FFFFFF", scale: "noScale" }; var attributes = {}; swfobject.embedSWF("flash/header.swf", "free-flash-header","540", "150", "9.0.0", "flash/expressInstall.swf",flashvars, params, attributes); [removed] </head> <body style="margin:0;padding:0;"> <!--BEGIN OF TERMS OF USE. DO NOT EDIT OR DELETE THESE LINES. IF YOU EDIT OR DELETE THESE LINES AN ALERT MESSAGE MAY APPEAR WHEN TEMPLATE WILL BE ONLINE--> free flash animation on free flash animation <!--END OF TERMS OF USE--> <!-- Add your alternative here --> </body> </html> And I want to put it in my header.tpl but I don't know how to code it in my body <header> </header> <body> ... want to put the code here so it can read the html page. </body> Please help thnx. Link to comment Share on other sites More sharing options...
hunter204 Posted June 20, 2010 Author Share Posted June 20, 2010 this is the code of my header.tpl and want to put the code in the <body> so it will display my html banner. > <html > <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:htmlall:'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} [removed][removed] [removed] var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; [removed] [removed][removed] [removed][removed] [removed][removed] {if isset($js_files)} {foreach from=$js_files item=js_uri} [removed][removed] {/foreach} {/if} {$HOOK_HEADER} </head> <!-- Javascript --> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} </pre> <ul>{l s='This shop requires JavaScript to run correctly. Please activate JavaScript in your browser.'}</ul> <br><br> <!-- END of Javascript --><br><br><div> <!-- TOP --> <!-- Header --> {$HOOK_TOP} <!-- Left --> {$HOOK_LEFT_COLUMN} <!-- Center --> {/if} < Link to comment Share on other sites More sharing options...
hunter204 Posted June 21, 2010 Author Share Posted June 21, 2010 is there someonce can help me? plsssssss Link to comment Share on other sites More sharing options...
hunter204 Posted June 21, 2010 Author Share Posted June 21, 2010 I want that my html banner will be displayed. need help thanks Link to comment Share on other sites More sharing options...
BWT Posted January 9, 2011 Share Posted January 9, 2011 Try putting it in tags under the last And these need to go into the main prestashop folderjs -> (swfobjects.js, Terms.js)sounds -> (mp3)flash.htm 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