genis Posted March 11, 2013 Share Posted March 11, 2013 (edited) Hola, he instalado un nuevo tema, y he estado añadiendo módulos ,productos, etc. y de pronto me he encontrado que en la parte de arriva pone:id="index"> , esto produce que los módulos no esten a la altura que deberían estar. mi web es http://www.fruitesvilaplana.es. . No sé que archivo debería modificar y como. Grácias. Tema solucionado Edited March 11, 2013 by genis (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted March 11, 2013 Share Posted March 11, 2013 Hola, he instalado un nuevo tema, y he estado añadiendo módulos ,productos, etc. y de pronto me he encontrado que en la parte de arriva pone:id="index"> , esto produce que los módulos no esten a la altura que deberían estar. mi web es http://www.fruitesvilaplana.es. . No sé que archivo debería modificar y como. Grácias. En el fichero: http://www.fruitesvilaplana.es/themes/PRS040078/header.tpl Dime como tienes abierto la etiqueta del <body . . . . ... . . .. . . . . . . . .. Dejala asi: <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} content_only {/if}"> En caso de que no la tengas asi.. Link to comment Share on other sites More sharing options...
genis Posted March 11, 2013 Author Share Posted March 11, 2013 he abierto el header tpl con el editor de texto y he buscado el <body y no se encuentra ninguna etiqueta body. Link to comment Share on other sites More sharing options...
jaloise Posted March 11, 2013 Share Posted March 11, 2013 (edited) he abierto el header tpl con el editor de texto y he buscado el <body y no se encuentra ninguna etiqueta body. Como es tu URL? Edito ya que la vi en el post arriba. mil perdones. Muestranos tu HEADER.TPL no puede no terner body jaja Edited March 11, 2013 by jaloise (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted March 11, 2013 Share Posted March 11, 2013 he abierto el header tpl con el editor de texto y he buscado el <body y no se encuentra ninguna etiqueta body. 100 por 100 que tienes dicha etiquetas, revisa bien. Link to comment Share on other sites More sharing options...
genis Posted March 11, 2013 Author Share Posted March 11, 2013 header tpl: {* * 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: * http://opensource.org/licenses/afl-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-2012 PrestaShop SA * @version Release: $Revision: 14008 $ * @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"> <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 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?{$img_update_time}" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico?{$img_update_time}" /> <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Vast+Shadow" /> <script type="text/javascript" src="{$js_dir}slider/jquery-1.6.1.min.js"></script> <!-- For Top menu and slider --> <script type="text/javascript" src="{$js_dir}pscript.js"></script> <script type="text/javascript" src="{$js_dir}list-grid.js"></script> {if $page_name == 'index'} <!--Slider--> <script type="text/javascript" src="{$js_dir}slider/slider.js"></script> <script type="text/javascript"> var $j = jQuery.noConflict(); $j(window).load(function() { $j('#slider').nivoSlider(); }); </script> <!--Featured Prod. Slider--> <script type="text/javascript" src="{$js_dir}jcarousel.js"></script> <script type="text/javascript"> function mycarousel_initCallback(carousel) { // Disable autoscrolling if the user clicks the prev or next button. carousel.buttonNext.bind('click', function() { carousel.startAuto(0); }); carousel.buttonPrev.bind('click', function() { carousel.startAuto(0); }); // Pause autoscrolling if the user moves with the cursor over the clip. carousel.clip.hover(function() { carousel.stopAuto(); }, function() { carousel.startAuto(); }); }; var $k = jQuery.noConflict(); $k(document).ready(function() { $k('#mycarousel').jcarousel({ scroll: 1, animation: 1000, auto: 0, wrap: 'circular', initCallback: mycarousel_initCallback }); }); </script> {/if} <!-- Top Menu --> <script type="text/javascript" src="{$js_dir}topmenu/hoverIntent.js"></script> <script type="text/javascript" src="{$js_dir}topmenu/topmenu.js"></script> <script type="text/javascript"> var $p = jQuery.noConflict(); $p(function(){ $p('#sf-menu').superfish(); }); </script> <script type="text/javascript" src="{$js_dir}fonts/cufon-yui.js"></script> <script type="text/javascript" src="{$js_dir}fonts/ArtificeSSK_400.font.js"></script> <script type="text/javascript"> Cufon.replace('ul#sf-menu > li > a', { fontFamily: 'ArtificeSSK' }); Cufon.replace('.block_footer h4', { fontFamily: 'ArtificeSSK' }); Cufon.replace('#featured-products_block_center h4', { fontFamily: 'ArtificeSSK' }); Cufon.replace('#left_column div.block h4', { fontFamily: 'ArtificeSSK' }); Cufon.replace('.idTabs a', { fontFamily: 'ArtificeSSK' }); </script> <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> {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} {if $page_name == 'index'} <div class="wraper-top-home"> {else} <div class="wraper-top-inner"> {/if} <div class="wraper-topmenu"> <div class="wraper-bottom"> <div id="page"> <!-- Header --> <div id="header"> <a id="header_logo" href="{$link->getPageLink('index.php')}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" 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"> {if $page_name != 'index'} <!-- Left --> <div id="left_column" class="column"> {$HOOK_LEFT_COLUMN} </div> <!-- Center --> <div id="center_column"> {/if} {/if} Link to comment Share on other sites More sharing options...
nadie Posted March 11, 2013 Share Posted March 11, 2013 </head> {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> Vaya pues no lo tienes abierto.., cambia esto: {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> Por esto: <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} content_only {/if}"> Link to comment Share on other sites More sharing options...
jaloise Posted March 11, 2013 Share Posted March 11, 2013 Vaya pues no lo tienes abierto.., cambia esto: {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> Por esto: <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} content_only {/if}"> jajajaja de verdadq ue no tenia body! jajaj Link to comment Share on other sites More sharing options...
nadie Posted March 11, 2013 Share Posted March 11, 2013 ¿Como fue todo? Link to comment Share on other sites More sharing options...
genis Posted March 11, 2013 Author Share Posted March 11, 2013 Perfecto, muchas grácias, he cambiado las líneas y he forzado la compilación y ha funcionado perfectamente. Muchas grácias. Link to comment Share on other sites More sharing options...
nadie Posted March 11, 2013 Share Posted March 11, 2013 Perfecto, muchas grácias, he cambiado las líneas y he forzado la compilación y ha funcionado perfectamente. Muchas grácias. Un placer ayudarte y servirte! Si das el tema como solucionado, edita el titulo del tema, editando el primer mensaje, pulsando en editar, y después en "Usar editor completo", añadiendo la palabra "Solucionado" al titulo, esto ayudara, a mantener una mayor organización en el foro. Un saludo y recuerda que estaremos en el foro, para guiarte por este mundo oscuro y tenebroso. Por cierto, no se te olvide presentarte en la sección de presentaciones oficiales del foro: http://www.prestashop.com/forums/index.php?/topic/193399-bienvenido-al-foro-presentate-aqui/ Link to comment Share on other sites More sharing options...
Recommended Posts