Jump to content

Duplicate items on my website


Recommended Posts

Hi

 

I have today installed 1.4.11 and the upgrade seems to work okay so far.

 

One issue is that modules shown on the left column of my pages, cart, search etc are duplicated further down the page.

 

I have unhooked and re hooked but they come back as a duplicate.

 

Any ideas how to get rid of the 2nd ones please.

 

www.homesteadandgarden.co.uk

 

thanks

Link to comment
Share on other sites

  • 2 weeks later...

Hi

Sorry for the long delay . Been away from office for week.

I have checked the above with no luck. Something that struck me is that I have been running this theme okay for 18 months on 1.4.8.2 and this problem only started when I upgrade to 1.4.11.

 

So is is not in the theme but somewhere in the main program?

 

Thanks

Link to comment
Share on other sites

  • 4 weeks later...

Thanks Vekia

 

I have used this template for 18 months approx and this double issue only started after I upgraded to 1,4,11. I think it is a 2 column template.

But it is causing a duplicate of the same information in the left coloumn. I have searched for hours in the files but baffled as to why it is duplicating.

 

What would happen to my store if I upgraded it to 1.5.? Business is good so cannot afford to lose it.

 

thanks

 

Barry

Link to comment
Share on other sites

all of the "updates" changes etc. you should do in the test environment. Or locally, on localhost.

Then you will not lose your store and it will be online.

 

btw. can you show the contents of header.tpl file? I will check it with pleasure

Link to comment
Share on other sites

  • 2 weeks later...

Hi Vekia

 

Here is my header TPL file. Pls can you take a look.

 

{*

* 2007-2010 PrestaShop

*

* NOTICE OF LICENSE

*

* This source file is subject to the Open Software License (OSL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* http://opensource.org/licenses/osl-3.0.php

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.

*

* DISCLAIMER

*

* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.

*

* @author Prestashop SA <[email protected]>

* @copyright 2007-2010 Prestashop SA

* @version Release: $Revision: 1.4 $

* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

* International Registred Trademark & Property of PrestaShop SA

*}

 

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

 

 

 

 

<?xml version="1.0"?>

 

<!--Place this tag in the <head> of your document-->

<link href="https://plus.google.com/109483743414240787708" rel="publisher" />

{* <script type="text/javascript">

window.___gcfg = {lang: 'en-GB'};

(function()

{var po = document.createElement("script");

po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";

var s = document.getElementsByTagName("script")[0];

s.parentNode.insertBefore(po, s);

})();</script> *}

 

 

 

<!-- Place this tag where you want the badge to render -->

<g:plus href="https://plus.google.com/109483743414240787708" size="badge"></g:plus>

 

 

<meta name="msvalidate.01" content="E3652E1D39B826155F9DF4485052EF6A" />

 

<script type="text/javascript">

var GoSquared={};

GoSquared.acct = "GSN-717878-Q";

(function(w){

function gs(){

w._gstc_lt=+(new Date); var d=document;

var g = d.createElement("script"); g.type = "text/javascript"; g.async = true; g.src = "//d1l6p2sc9645hc.cloudfront.net/tracker.js";

var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(g, s);

}

w.addEventListener?w.addEventListener("load",gs,false):w.attachEvent("onload",gs);

})(window);

</script>

 

 

<script type="text/javascript">

 

var _gaq = _gaq || [];

_gaq.push(['_setAccount', 'UA-15156715-2']);

_gaq.push(['_trackPageview']);

 

(function() {

var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

})();

 

</script>

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

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

{$HOOK_HEADER}

</head>

 

<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/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="page">

 

 

 

<!-- Header -->

<div id="header">

<a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}">

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

</a>

<div id="header_right">

 

 

 

 

 

{$HOOK_TOP}

 

</div>

</div>

 

<div id="columns">

 

<!-- Right Index sur 1 colonne -->

 

{if $page_name != index}

<div id="left_column" class="column">

{$HOOK_LEFT_COLUMN}

</div>

{/if}

 

 

<!-- Center -->

<div id="center_column" class="{if $page_name == 'index'}totalcolumn{else}classiccolumn{/if}">

{/if}

Link to comment
Share on other sites

  • 2 weeks later...

thank you.

 

Here it is Vekia

 

{*
* 2007-2010 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author Prestashop SA <[email protected]>
* @copyright 2007-2010 Prestashop SA
* @version Release: $Revision: 1.4 $
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
* International Registred Trademark & Property of PrestaShop SA
*}

        {if !$content_only}
                </div>

<!-- Right Index sur 1 colonne -->
                



{if $page_name != index}
<div id="left_column" class="column">
{$HOOK_LEFT_COLUMN}
<div id="left_column" class="voucher">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="4MZ6MV6EP46WW">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_giftCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"></form>
</div> <!-- end voucher -->
</div>
{/if}
            </div>


<!-- Footer -->
            <div id="footer">{$HOOK_FOOTER}</div>
        </div>
    {/if}
    </body>
</html>

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