romienas Posted September 30, 2014 Share Posted September 30, 2014 Hi, Have problem with search display. When I do a search (typed VAR in search bar) on my shop www.e-produktai.lt search result display in the left side (it should be center) and when I want to go to second page I got result without any layout. where is a problem? Link to comment Share on other sites More sharing options...
romienas Posted October 1, 2014 Author Share Posted October 1, 2014 up Link to comment Share on other sites More sharing options...
vekia Posted October 1, 2014 Share Posted October 1, 2014 what is your ps version? Link to comment Share on other sites More sharing options...
vekia Posted October 1, 2014 Share Posted October 1, 2014 instant search uses #center_column to display products. your center column contains also left column. in your case it's necessary to change layout, it's necessary to move left column outside the <div id="center_column"> you can do it in header.tpl / footer.tpl (don't know how your theme is coded) Link to comment Share on other sites More sharing options...
romienas Posted October 1, 2014 Author Share Posted October 1, 2014 I am using 1.5.6.2 version I don't know what exactly I should to do. Here is header.tpl code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7 " lang="{$lang_iso}"> <![endif]--> <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8 ie7" lang="{$lang_iso}"> <![endif]--> <!--[if IE 8]><html class="no-js lt-ie9 ie8" lang="{$lang_iso}"> <![endif]--> <!--[if gt IE 8]> <html class="no-js ie9" lang="{$lang_iso}"> <![endif]--> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <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 http-equiv="content-language" content="{$meta_language}" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,{if isset($nofollow) && $nofollow}no{/if}follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$favicon_url}?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$favicon_url}?{$img_update_time}" /> <script type="text/javascript"> var baseDir = '{$content_dir|addslashes}'; var baseUri = '{$base_uri|addslashes}'; var static_token = '{$static_token|addslashes}'; var token = '{$token|addslashes}'; 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> document.createElement('header'); document.createElement('section'); document.createElement('article'); document.createElement('aside'); document.createElement('nav'); document.createElement('footer'); </script> <!--[if lt IE 9]> <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="{$css_dir}themes/ie8.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="{$css_dir}themes/ie7.css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" type="text/css" href="{$css_dir}themes/ie6.css" /> <script type="text/javascript" src="{$js_dir}themes/DD_belatedPNG_0.0.8a-min.js"></script> <script type="text/javascript"> DD_belatedPNG.fix('#logo img'); </script> <![endif]--> {$HOOK_HEADER} {if ($page_name == 'index')} <link rel="stylesheet" type="text/css" href="{$css_dir}themes/homepage-sidebar.css" /> {/if} <meta name="verify-paysera" content="f86f63bb0b2db9441150b258c115a214"> </head> <body itemscope itemtype="http://schema.org/WebPage" {if isset($page_name)}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if} class="{if $hide_left_column}hide-left-column{/if} {if $hide_right_column}hide-right-column{/if} {if $content_only} content_only {/if}"> <div id="popup_message"> </div> {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">{$geolocation_country}</span></p> </div> {/if} {if (Configuration::get('sellya_widgetfb_status')==1)} <div class="facebook_{Configuration::get('sellya_widgetfb_postion')} hidden-phone"> <div id="facebook_icon"></div> <div class="facebook_box"> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-like-box" data-href="{Configuration::get('sellya_widgetfb_id')}" data-width="237" data-height="389" data-show-faces="true" data-stream="false" data-header="true"></div> <script type="text/javascript"> $(function(){ $(".facebook_right").hover(function(){ $(".facebook_right").stop(true, false).animate( { right: "0" }, 800, 'easeOutQuint' ); }, function(){ $(".facebook_right").stop(true, false).animate( { right: "-245" }, 800, 'easeInQuint' ); },1000); }); $(function(){ $(".facebook_left").hover(function(){ $(".facebook_left").stop(true, false).animate({ left: "0" }, 800, 'easeOutQuint' ); }, function(){ $(".facebook_left").stop(true, false).animate({ left: "-245" }, 800, 'easeInQuint' ); },1000); }); </script> </div> </div> {/if} {if (Configuration::get('sellya_widgetc_status')==1)} <div class="custom_box_{Configuration::get('sellya_widgetc_postion')} hidden-phone"> <div id="custom_box_icon"></div> <div class="custom_box"> {$srpta.sellya_widgetc_content|html_entity_decode} <script type="text/javascript"> $(function(){ $(".custom_box_right").hover(function(){ $(".custom_box_right").stop(true, false).animate({ right: "0" }, 800, 'easeOutQuint' ); }, function(){ $(".custom_box_right").stop(true, false).animate({ right: "-245" }, 800, 'easeInQuint' ); },1000); }); $(function(){ $(".custom_box_left").hover(function(){ $(".custom_box_left").stop(true, false).animate({ left: "0" }, 800, 'easeOutQuint' ); }, function(){ $(".custom_box_left").stop(true, false).animate({ left: "-245" }, 800, 'easeInQuint' ); },1000); }); </script> </div> </div> {/if} <div class="wrapper"> <header id="header"> <div class="container"> <div id="t-header" class="row"> <div id="logo"> <a class="logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> {if Configuration::get('sellya_sitelogo')} <img src="{Configuration::get('sellya_sitelogo')}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /> {else} <img src="{$logo_url}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" /> {/if} </a> </div> {$HOOK_TOP} <div id="notification"></div> </div> </header> <div id="center_column"> {if ($page_name == 'category') || ($page_name == 'cms') || ($page_name == 'prices-drop') || ($page_name == 'new-products') || ($page_name == 'best-sales')|| ($page_name == 'manufacturer') || ($page_name == 'supplier')|| ($page_name == 'search')} <section id="midsection" class="container"> <div class="row"> {if ($srpta.sellya_cat_column=='left_column')&& ($page_name == 'category') || ($srpta.sellya_newp_column=='left_column')&& ($page_name == 'new-products') || ($srpta.sellya_tops_column=='left_column')&& ($page_name == 'best-sales') || ($srpta.sellya_pdrop_column=='left_column')&& ($page_name == 'prices-drop') || ($srpta.sellya_manuf_column=='left_column')&& ($page_name == 'manufacturer') || ($srpta.sellya_supp_column=='left_column')&& ($page_name == 'supplier') || ($srpta.sellya_search_column=='left_column')&& ($page_name == 'search') } <div class="hidden-phone"> <aside id="column-left" class="span3"> {$HOOK_LEFT_COLUMN} </aside> </div> {/if} {/if} {if ($page_name == 'index')} <section id="midsection" class="container"> <div class="row"> {assign var='home_container_class' value='span12'} {if $srpta.sellya_homepage_style =='with_left_sidebar'} {$home_container_class = "span9 with_sidebar"} <div class="hidden-phone"> <aside id="column-left" class="span3"> {$HOOK_LEFT_COLUMN} </aside> </div> {elseif $srpta.sellya_homepage_style =='with_right_sidebar'} {$home_container_class = "span9 with_sidebar"} {/if} <div id="content-home" class="{$home_container_class}"> {/if} {/if} Link to comment Share on other sites More sharing options...
romienas Posted October 2, 2014 Author Share Posted October 2, 2014 up Link to comment Share on other sites More sharing options...
Recommended Posts