Jump to content

[NEED HELP] Help with the Header Code


Recommended Posts

I want to put this code in my header.tpl but I don't know how to do it..


<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CU3ER - demo!</title>

<!--  STEP ONE: insert path to SWFObject JavaScript -->
[removed][removed]

<!--  STEP TWO: configure SWFObject JavaScript and embed CU3ER slider -->
[removed]
       var flashvars = {};
       flashvars.xml = "config.xml";
       flashvars.font = "font.swf";
       var attributes = {};
       attributes.wmode = "transparent";
       attributes.id = "slider";
       swfobject.embedSWF("cu3er.swf", "cu3er-container", "600", "300", "9", "expressInstall.swf", flashvars, attributes);
[removed]
<style type="text/css">
<!--
body { margin: 5% auto; text-align:center;}
#cu3er-container {width:600px; outline:0;}
-->
</style>
</head>
<body>
<!--  STEP THREE: insert CU3ER div container -->





</body>
</html>




This is the code of my header.tpl I want to insert it here

>

<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>       <!-- TOP BANNER --><br><br>                [b]WILL PUT THE CODE HERE SO THE BANNER WILL BE DISPLAY IN MY TOP PAGE AS MY BANNER[/b]<br><br>       <!-- END TOP BANNER --><br><br><br>         <!-- MENU --><br>            ...........<br>         <!-- END MENU --><br><br><div>
          <!-- TOP -->

           <!-- Header -->



                   {$HOOK_TOP}




           <!-- Left -->

               {$HOOK_LEFT_COLUMN}


           <!-- Center -->

   {/if}
<
Link to comment
Share on other sites

×
×
  • Create New...