Jump to content

cambiar columna de lado


sex abierto

Recommended Posts

Los módulos puedes cambiarlos de derecha a izquierda, desde la pestaña Módulos -> Posiciones de los módulos

 

¿O tu quieres cambiar la ubicación de los hooks, es decir en el fichero:

/themes/su-plantilla/header.tpl

donde dice:

<div id="left_column" class="column grid_2 alpha">
                                        {$HOOK_LEFT_COLUMN}
                                </div>

colocar esto:

<div id="left_column" class="column grid_2 alpha">
                                        {$HOOK_RIGHT_COLUMN}
                                </div>

y en el fichero:

/themes/su-plantilla/footer.tpl

donde dice:

<div id="right_column" class="column grid_2 omega">
                                        {$HOOK_RIGHT_COLUMN}
                                </div>

colocar esto:

<div id="right_column" class="column grid_2 omega">
                                        {$HOOK_LEFT_COLUMN}
                                </div>

?

 

Lo comento, porque no tendría sentido hacer eso, cuando puedes cambiar las posiciones de los módulos desde la pestaña Módulos -> Posiciones de los módulos.

Link to comment
Share on other sites

Ok, 

 

Dime la dirección de tu tienda, y el contenido de tu fichero:

/themes/plantilla/header.tpl

y

/themes/plantilla/footer.tpl

No sea que tengas la columna izquierda comentada en el header.tpl y por eso no se te ve.

 

La dirección es www.sexshopabierto.com

 

El header:

 

{*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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:
* 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-2012 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
 
<!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 lt-ie6 " lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8 ie7" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9 ie8" lang="en"> <![endif]-->
<!--[if gt IE 8]> <html lang="fr" class="no-js ie9" lang="en"> <![endif]-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">
<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}
{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">{$geolocation_country}</span></p>
</div>
{/if}
 
 
                
                
                <div id="toppanel" style="margin:0 auto; width:980px">
 
 
<div id="header" style="background-image:url('{$img_dir}head.png'); margin-bottom:10px; background-position:bottom center">
                <div style="position:relative; float:left">
                  <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}" style="margin-left:5px">
<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 style="width:670px; position:relative; float:right">
{$HOOK_TOP}
                    </div>
</div>
 
</div>
   
    <div style="position:relative; margin:0 auto; width:1000px; padding-top:5px">
  
      <div style="width:1000px; position:relative; float:right;  z-index:1000">
 
<div style="clear:both">
         {if $menum eq "yes"}
        <!-- menu -->
     <ul class="sf-menu sf-js-enabled">
 
        
           <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}">{l s='Home'}</a></li>
                                <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('order')}">{l s='Cart'}</a></li>
                                <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('new-products')}">{l s='New products'}</a></li>
                                <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('prices-drop')}">{l s='Specials'}</a></li>
                                <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('best-sales')}">{l s='Best sales'}</a></li>
                                <li class="current_page_item top-level selectedLava"><a href="{$link->getPageLink('contact-form')}">{l s='Contact us'}</a></li>
    
</ul>
 
 
{/if}
<!-- End Menu -->
     
        </div>
 
 
</div>
 </div>
 
     </div>
    
 
 
 
<!--panel -->
<!-- Header -->
 
      <!-- slider -->      
      
 
 
   <div id="pageh" ></div>
        <div id="page">
 
 
 
 
 
 
<!-- Center -->
<div id="center_column">
{/if}
 
Y el footer:
 
{*
* 2007-2011 PrestaShop 
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 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:
* 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-2011 PrestaShop SA
*  @version  Release: $Revision: 6594 $
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
 
 {if !$content_only}
</div>
  <div id="right_column" class="column">
{$HOOK_RIGHT_COLUMN}
</div>
<div id="footer"></div>
  <div id="pagef3" style="margin-bottom:-35px; *margin-bottom:-35px ;_margin-bottom:-0px !important; ;</div>
 </div>  
 
 <div style="margin-top:40px">
  <div id="pageh2"></div>
  <div id="page2">
<div id="footer">{$HOOK_FOOTER}</div>
            </div>
          
</div>
       
{/if} 
    <div id="pagef2"></div></div>
   
  
 
    
   
    <br/>
    
</body>
</html>
 
 
Gracias de antemano.
 
Un saludo!
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...