tvillalbac Posted October 23, 2012 Share Posted October 23, 2012 (edited) Muy raro, de verdad. Pongo las imágenes en el bloque y el link no lleva a ningún sitio. está "Usar lista texto plano" activado y de momento me ha tocado activar "Usar cuadro combinado" porque este si que me lleva a la página del fabricante. Acabo de seleccionar forzar compilación porque la página acabo de ponerla en producción pero ya me pasaba antes de eso. la página es: http://monnalisa-shop.com/ la versión de Presta es 1.4.9 y el código del blockmanufacturer es este: {* * 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.or...ses/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: 16235 $ * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block manufacturers module --> <div id="manufacturers_block_left" class="block blockmanufacturer"> <h4>{if $display_link_manufacturer}<a href="{$link->getPageLink('manufacturer.php')}" title="{l s='Manufacturers' mod='blockmanufacturer'}">{/if}{l s='Manufacturers' mod='blockmanufacturer'}{if $display_link_manufacturer}</a>{/if}</h4> <div class="block_content"> {if $manufacturers} {if $text_list} <ul class="bullet"> {foreach from=$manufacturers item=manufacturer name=manufacturer_list} {if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb} <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a> <img alt="{$manufacturer.name|escape:'htmlall':'UTF-8'}" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}" src="{$base_dir}img/m/{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}.jpg" border="0" /></a></li> {/if} {/foreach} </ul> {/if} {if $form_list} <form action="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" method="get"> <p> <select id="manufacturer_list" onchange="autoUrl('manufacturer_list', '');"> <option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option> {foreach from=$manufacturers item=manufacturer} <option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> </p> </form> {/if} {else} <p>{l s='No manufacturer' mod='blockmanufacturer'}</p> {/if} </div> </div> <!-- /Block manufacturers module --> A alguien se le ocurre qué puede ser?? Edited October 23, 2012 by tvillalbac (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 Muy raro, de verdad. Pongo las imágenes en el bloque y el link no lleva a ningún sitio. está "Usar lista texto plano" activado y de momento me ha tocado activar "Usar cuadro combinado" porque este si que me lleva a la página del fabricante. Acabo de seleccionar forzar compilación porque la página acabo de ponerla en producción pero ya me pasaba antes de eso. la página es: http://monnalisa-shop.com/ la versión de Presta es 1.4.9 y el código del blockmanufacturer es este: {* * 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.or...ses/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: 16235 $ * @license http://opensource.or...ses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- Block manufacturers module --> <div id="manufacturers_block_left" class="block blockmanufacturer"> <h4>{if $display_link_manufacturer}<a href="{$link->getPageLink('manufacturer.php')}" title="{l s='Manufacturers' mod='blockmanufacturer'}">{/if}{l s='Manufacturers' mod='blockmanufacturer'}{if $display_link_manufacturer}</a>{/if}</h4> <div class="block_content"> {if $manufacturers} {if $text_list} <ul class="bullet"> {foreach from=$manufacturers item=manufacturer name=manufacturer_list} {if $smarty.foreach.manufacturer_list.iteration <= $text_list_nb} <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a> <img alt="{$manufacturer.name|escape:'htmlall':'UTF-8'}" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}" src="{$base_dir}img/m/{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}.jpg" border="0" /></a></li> {/if} {/foreach} </ul> {/if} {if $form_list} <form action="{$smarty.server.SCRIPT_NAME|escape:'htmlall':'UTF-8'}" method="get"> <p> <select id="manufacturer_list" onchange="autoUrl('manufacturer_list', '');"> <option value="0">{l s='All manufacturers' mod='blockmanufacturer'}</option> {foreach from=$manufacturers item=manufacturer} <option value="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">{$manufacturer.name|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> </p> </form> {/if} {else} <p>{l s='No manufacturer' mod='blockmanufacturer'}</p> {/if} </div> </div> <!-- /Block manufacturers module --> A alguien se le ocurre qué puede ser?? Yo en tu web: http://monnalisa-shop.com/manufacturer.php?id_manufacturer=1 Pincho en las imagenes de las "marcas", en el lateral y si me funcionan los enlaces.. Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 Muchísimas gracias por contestar tan rápido!! Mmmmmm, como puede ser? A mi no me van... Y en la página principal que lo he puesto en la columna central debajo de los productos destacados tampoco... Qué has hecho?? Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 Estoy provando en varios navegadores y nada. No va. gracias Nadie por tu interés!! Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 Un segundo, que creo que entre a otra tienda por accidente y no a la tuya ) Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 Fichero: /modules/blockmanufacturer/blockmanufacturer.tpl Busca esto: <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"><a> <img alt="{$manufacturer.name|escape:'htmlall':'UTF-8'}" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}" src="{$base_dir}img/m/{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}.jpg" border="0" /></a></li> Y dejalo asi: <li class="{if $smarty.foreach.manufacturer_list.last}last_item{elseif $smarty.foreach.manufacturer_list.first}first_item{else}item{/if}"> <a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}" > <img alt="{$manufacturer.name|escape:'htmlall':'UTF-8'}" title="{l s='More about' mod='blockmanufacturer'} {$manufacturer.name}" src="{$base_dir}img/m/{$manufacturer.id_manufacturer|escape:'htmlall':'UTF-8'}.jpg" border="0" /> </a></li> Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 Estoy muy preocupado por usted. Prueba lo que te he comentado. Un Saludo, Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 Ya he provado el cambio de sintaxis. Y no lo he solucionado. ¿Es rarísimo verdad? modifique el .tpl para que no salieran los nombres; repasaré el archivo de la instalación limpia a ver si van por ahí los tiros. Pero analizando el código está correcto, no? Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 He provado cambiar el enlace de los links a uno fijo, por ejemplo: a la página de la categoría niña y tampoco funciona. ¿Es posible que no sea el archivo .tpl? Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 ¿Has forzado compilación, despues de realizar el cambio que te he dicho? Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 (edited) jajajaja, que despistado, disculpa por darte la brasa. Era ese cambio de sintaxis lo que fallaba y no volví a forzar compilación. Ahora funciona. Muchisísimas gracias, "Don" Nadie. Curioso verdad?? Ahora cómo cambio el título del topic con solucionado delante?? Edited October 23, 2012 by tvillalbac (see edit history) Link to comment Share on other sites More sharing options...
nadie Posted October 23, 2012 Share Posted October 23, 2012 jajajaja, que despistado, disculpa por darte la brasa. Era ese cambio de sintaxis lo que fallaba y no volví a forzar compilación. Ahora funciona. Muchisísimas gracias, "Don" Nadie. Curioso verdad?? Ahora cómo cambio el título del topic con solucionado delante?? 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. Link to comment Share on other sites More sharing options...
tvillalbac Posted October 23, 2012 Author Share Posted October 23, 2012 Jajajajaja cómo mola cuando dices lo del mundo oscuro y tenebroso!!! Suele ser buena señal!! un saludo, amigo! Link to comment Share on other sites More sharing options...
Recommended Posts