Jump to content

Prestashop 1.4 Header and footer TPL


Recommended Posts

Can anyone help me?

Im having trouble with editing my header and footer tpl files in V1.4.

I cant get my logo to change to a .png in my header?

And i cant seem to re-write the links in my footer tpl?

Header tpl:

<html >
   <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?{$time}" />
       <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$time}" />
       [removed]
           var baseDir = '{$content_dir}';
           var static_token = '{$static_token}';
           var token = '{$token}';
           var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};
           var priceDisplayMethod = {$priceDisplay};
           var roundMode = {$roundMode};
       [removed]
{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}
{if $thmskinsblack}
<link rel="stylesheet" type="text/css" href="{$content_dir}modules/thmskins/css/black.css" media="{$media}">
{else}
{/if}
{if $thmskinswhite}
<link rel="stylesheet" type="text/css" href="{$content_dir}modules/thmskins/css/white.css" media="{$media}">
{else}
{/if}
{if $thmskinsblue}
<link rel="stylesheet" type="text/css" href="{$content_dir}modules/thmskins/css/blue.css" media="{$media}">
{else}
{/if}
[removed][removed] 
[removed][removed] 
{literal}
[removed] 
var $j = jQuery.noConflict();
$j(function(){
   $j('.navigation li a')
       .css( {backgroundPosition: "0 0"} )
       .mouseover(function(){
           $j(this).stop().animate({backgroundPosition:"(-250px 0)"}, {duration:400})
       })
       .mouseout(function(){
           $j(this).stop().animate({backgroundPosition:"(-300px 0)"}, {duration:200, complete:function(){
               $j(this).css({backgroundPosition: "0 0"})
           [spam-filter])
       })
});
[removed] 
{/literal}
{if isset($js_files)}
   {foreach from=$js_files item=js_uri}
   [removed][removed]
   {/foreach}
{/if}
       {$HOOK_HEADER}
   </head>

   <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>
   {if isset($ad) && isset($live_edit)}
       {include file="$tpl_dir./live_edit.tpl"}
   {/if}
   {if !$content_only}
       {if isset($restricted_country_mode) && $restricted_country_mode}


{l s='You cannot place a new order from your country.'} {$geolocation_country}

       {/if}



           <!-- Header -->





                   {$HOOK_TOP}




               <!-- Left -->

                   {$HOOK_LEFT_COLUMN}


               <!-- Center -->

   {/if}
Link to comment
Share on other sites

<img class="logo" src="http://www.thekingsunit.co.uk/img/logo4.png" alt="{$shop_name|escape:'htmlall':'UTF-8'}"width="{$logo_image_width}"height="{$logo_image_height}">
</a>

may be like that:


<img class="logo" src="img/logo4.png" alt="{$shop_name|escape:'htmlall':'UTF-8'}"width="{$logo_image_width}"height="{$logo_image_height}">
</a>

i have same problem, and i change like that and works..

Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...