Jump to content

Recommended Posts

Hello,

 

 

My website suffers a code error after editing an image in the header template. I work with prestashop 1.4.4 and bought a theme from RSI systems (sweet baby theme).

Everthing worked perfect untill I changed the menu HEADER.img image to another color and also the CART img.

After updating the layout completly changed.

I suppose there is an error in the header.tmp but i am quiet new in this material...

 

I tried to get in cotact with RSI systems but there is no anwser.

 

link : www.to2bebe.com

 

Best regards,

david

 

 

header.tmp

 

<head>

<meta name="google-site-verification" content="W_Op8g_uKtkl1fgffCmZIzKmUtFo9DEMaeDApmPHSck" />

<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" />

<meta name="google-site-verification" content="W_Op8g_uKtkl1fgffCmZIzKmUtFo9DEMaeDApmPHSck" />

<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" />

<script type="text/javascript">

var baseDir = '{$content_dir}';

var static_token = '{$static_token}';

var token = '{$token}';

var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

var priceDisplayMethod = {$priceDisplay};

var roundMode = {$roundMode};

</script>

{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 isset($js_files)}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri}"></script>

{/foreach}

{/if}

<script src='{$js_dir}cufon-yui.js' type='text/javascript'></script>

<script src='{$js_dir}cufon-font.js' type='text/javascript'></script>

 

 

{literal}

<script type="text/javascript">

Cufon.replace('.cuf, div.block h4');

 

</script>

{/literal}

<link href="{$css_dir}globals.css" rel="stylesheet" type="text/css" media="{$media}" />

{$HOOK_HEADER}

<script type="text/javascript">

 

</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}

<div id="restricted-country">

<p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocalization_country}</span></p>

</div>

{/if}

 

 

 

<div id="pageh" ></div>

 

<div id="page">

<div id="header" style="height:auto; margin-bottom:10px; background-position:bottom center; clear:both; position:relative; float:left">

<div style="position:relative; float:left">

<h1 id="logo" style="margin-top:10px; padding:10px"><a href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"><img src="{$img_ps_dir}logo.jpg" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /></a></h1>

</div>

<div style="width:500px; position:relative; float:right">

{$HOOK_TOP}

</div>

</div>

 

 

<!-- Left

 

<div id="line">

</div> -->

<div id="toppanel" style="margin:0 auto; width:980px; position:relative; float:left">

 

<div style="margin:0 auto; width:980px; height: 70px;">

 

<ul class="menu">

 

 

<li ><a href="{$content_dir}index.php" ><span class="cuf">{l s='Home'}</span></a></li>

 

<li ><a href="{$content_dir}.php"><span class="cuf">{l s=''}</span></a></li>

<li ><a href="{$content_dir}.php" ><span class="cuf">{l s=''}</span></a></li>

<!-- Begin Home Item -->

Link to comment
Share on other sites

Hello david,

 

Do not know what file you edited ?

Did you edit the global.css ?

 

When did you contact RSI ? if you contacted them today then you must give them the chance to reply back to you.

They have a lot off customers and they are normally pretty fast with replying on emails.

 

Why not replace the file you messed up with the correct one again and then let us know what you exactly want so that we can see what needs to be done.

 

Regards,

 

ysco..

Link to comment
Share on other sites

Hallo ysco,

 

Thankx for replying so fast ! In the IMG file I edited the Cart.png and menu.png. (Ididnt change much, just color and little efect with the same png extension and litlle change in kb

. In the global css I didnt change anything. Honestly i am quit a beginner so I dont touch what I dont know...

 

I had contact with them about this problem 2 weeks ago and they asked my ftp account ,but the answered me (after sending my FTP pasword) that the FTP didnt show all the files. I checked this with my hoster and they confirmed. They recommand to change the FTP or give the CPANEL access of my website to them wich I provided 2 weeks ago. but no aswer came sofar.

 

I replaced the fileto the original that messed up the layout , the original img came back but the layout failed again.

Because these days I am putting the last work to the website to open it officialy so would be nice to start with a nice layout.

At this moment in the layout is missing the logo, sitemap icon, contact us icon

.further : the header menu bar went to the left site and the white (dont know the offilcial name) middle background is mising, just appears in the footer. Also the cart.png went to the right side instead of being in middle top of the header.

 

I did also the force comp. settings and refreshed the cash after editing.

 

groetjes en alvast harteliijk bedankt !

david

Link to comment
Share on other sites

Hallo daviddive007,

 

Toevallig kom ik je thread weer tegen, follow thead werkt nog steeds niet naar behoren en krijg bijna nooit een email melding wanneer er weer gereageerd is op een thread.

 

Maar fijn om te horen dat het probleem verholpen is, heb je het zelf nu gedaan of heb Shacker het gedaan van RSI ?

Ik ken Shacker all een tijd en de service is normaal altijd goed van ze.

 

Als je probleem is opgelost dan graag even in de topic <solved> toevoegen ;)

 

Gr. ysco..

Link to comment
Share on other sites

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...