iopi Posted February 24, 2014 Share Posted February 24, 2014 (edited) Chciałem ukryć lewą kolumnę w szablonie, jest to możliwe Edited February 24, 2014 by iopi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 24, 2014 Share Posted February 24, 2014 wątek na forum leotheme: http://www.leotheme.com/support/forum/how-to-hide-or-show-left-or-right-column-in-prestashop-page.html Link to comment Share on other sites More sharing options...
iopi Posted February 24, 2014 Author Share Posted February 24, 2014 Wpadłem na to, z tym że nie mogę u siebie odnaleźć tej lini kodu Link to comment Share on other sites More sharing options...
vekia Posted February 24, 2014 Share Posted February 24, 2014 a możesz pokazać zawartość (kod) pliku header.tpl z Twojego szablonu? Link to comment Share on other sites More sharing options...
iopi Posted February 25, 2014 Author Share Posted February 25, 2014 (edited) Proszę, dziękuje za pomoc <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 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}'; var baseUri = '{$base_uri}'; 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} <link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,300,700' rel='stylesheet' type='text/css' /> {if $LEO_SKIN_DEFAULT && $LEO_SKIN_DEFAULT !="default"} <link rel="stylesheet" type="text/css" href="{$content_dir}themes/{$LEO_THEMENAME}/skins/{$LEO_SKIN_DEFAULT}/css/skin.css" media="{$media}" /> {/if} {if $LEO_PANELTOOL} <link rel="stylesheet" type="text/css" href="{$content_dir}themes/{$LEO_THEMENAME}/css/paneltool.css" media="{$media}" /> <link rel="stylesheet" type="text/css" href="{$content_dir}themes/{$LEO_THEMENAME}/css/fix-browser.css" media="{$media}" /> {/if}{if isset($js_files)} {foreach from=$js_files item=js_uri} <script type="text/javascript" src="{$js_uri}"></script> {/foreach}{/if} <script type="text/javascript" src="{$content_dir}themes/{$LEO_THEMENAME}/js/bootstrap.js"></script> <script type="text/javascript" src="{$content_dir}themes/{$LEO_THEMENAME}/js/custom.js"></script> {$HOOK_HEADER} </head> <body {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} {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} <div id="leo-page" class="{$LEO_BGPATTERN} {if $lang_iso=='fr'}frcss{/if} clearfix"> <!-- Header --> <div id="leo-header" class="leo-header"> <div class="header-wrap"> <div class="container"> <div id="header_right" class="row-fuild"> {$HOOK_TOP} </div> <div class="clearfix"></div> <div class="logo"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$logo_url}" 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> </div> </div> </div> <div id="leo-mainnav" class="leo-mainnav"> <div class="row-fluid"> <div class="container"> {Hook::exec('topNavigation')} </div> </div> </div> <div id="leo-maincontainer"> <div class="container"> <div class="inner-wrap"> <div class="row-fluid" > <!-- Center --> <div id="leo-centercol" class="{if $page_name == "index"} contatiner{else} span9{/if}"> <div id="center_column"> {if $page_name != 'index'} {include file="$tpl_dir./breadcrumb.tpl"} {/if}{/if} Edited February 25, 2014 by iopi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 25, 2014 Share Posted February 25, 2014 no to mamy problem Twoja prawa kolumna jest w pliku footer.tpl możesz pokazać zawartośc tego pliku? Link to comment Share on other sites More sharing options...
iopi Posted February 25, 2014 Author Share Posted February 25, 2014 {if !$content_only} </div><!-- 5--> </div><!-- 4--> {if $page_name != "index"} <div id="leo-rightcol" class="span3"> {$HOOK_RIGHT_COLUMN} </div><!--righttcol--> {/if} </div><!-- End Of Fluid-Width --> </div><!-- 4--> </div> </div> <div id="leo-manufac" class="leo-manufac"> <div class="row-fluid"> <div class="container"> {Hook::exec('bottomManufacturer')} </div> </div> </div> <!-- Footer --> <div id="leo-footer" class=" leo-footer"> <div class="footer-wrapper"> </div> <div class="container"> <div class="row-fluid" > {$HOOK_FOOTER} </div> </div> <!--footer--> </div> {/if} {if $LEO_PANELTOOL} {include file="$tpl_dir./info/paneltool.tpl"} {/if} Link to comment Share on other sites More sharing options...
vekia Posted February 25, 2014 Share Posted February 25, 2014 usuwamy to: {if $page_name != "index"} <div id="leo-rightcol" class="span3"> {$HOOK_RIGHT_COLUMN} </div><!--righttcol--> {/if} Link to comment Share on other sites More sharing options...
iopi Posted February 26, 2014 Author Share Posted February 26, 2014 troszkę to zakopane było, dziękuje Link to comment Share on other sites More sharing options...
Recommended Posts