CristianPM Posted May 19, 2014 Share Posted May 19, 2014 Estimados. En Prestashop 1.6, debajo el slider tengo el módulos destacados, me funciona todo bien, pero deseo que dicho módulo lleve un titulo. Adjunto imagen. Link to comment Share on other sites More sharing options...
LyL Desarrollo Posted May 20, 2014 Share Posted May 20, 2014 Suponiendo que trabajas con el modulo por defecto sin modificar debes cambiar el codigo de tu homefeatured.tpl CODIGO ORIGINAL {counter name=active_ul assign=active_ul} {if isset($products) && $products} {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured' active=$active_ul} {else} <ul id="homefeatured" class="homefeatured tab-pane{if isset($active_ul) && $active_ul == 1} active{/if}"> <li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li> </ul> {/if} CREO QUE ASI DEBERIA DE QUEDAR {counter name=active_ul assign=active_ul} {if isset($products) && $products} <div class="block"> <h4>TITULO AQUI</h4> <div class="block_content"> {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured' active=$active_ul} </div> {else} <ul id="homefeatured" class="homefeatured tab-pane{if isset($active_ul) && $active_ul == 1} active{/if}"> <li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li> </ul> {/if} Comentame que tal Link to comment Share on other sites More sharing options...
CristianPM Posted May 20, 2014 Author Share Posted May 20, 2014 Suponiendo que trabajas con el modulo por defecto sin modificar debes cambiar el codigo de tu homefeatured.tpl CODIGO ORIGINAL {counter name=active_ul assign=active_ul} {if isset($products) && $products} {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured' active=$active_ul} {else} <ul id="homefeatured" class="homefeatured tab-pane{if isset($active_ul) && $active_ul == 1} active{/if}"> <li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li> </ul> {/if} CREO QUE ASI DEBERIA DE QUEDAR {counter name=active_ul assign=active_ul} {if isset($products) && $products} <div class="block"> <h4>TITULO AQUI</h4> <div class="block_content"> {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured' active=$active_ul} </div> {else} <ul id="homefeatured" class="homefeatured tab-pane{if isset($active_ul) && $active_ul == 1} active{/if}"> <li class="alert alert-info">{l s='No featured products at this time.' mod='homefeatured'}</li> </ul> {/if} Comentame que tal Maestro, el titulo en si funciona PERFECTO !!! Pero, por alguna razón que desconozco el footer me cambia de color de gris oscuro a blanco y la información que tengo en la columna de la derecha baja y queda bajo productos destacados (buenoe sta ultima parte podria deberse al tamaña que la fuente que tengo en dicha columna) Atento a sus comentarios. CristianPM. Link to comment Share on other sites More sharing options...
CristianPM Posted May 22, 2014 Author Share Posted May 22, 2014 No hay caso, sale el titulo, pero se desconfigura la portada Link to comment Share on other sites More sharing options...
Recommended Posts