printbag.es Posted March 11, 2016 Share Posted March 11, 2016 Hola, Buenas tardes, Os escribo por que necesito ayuda con un problema que tengo de mi web que no puedo solucionar. Lo que pretendo hacer es quitar de la pagina de categorías la descripción corta y lo que hago es lo siguiente Elimino las 2 lineas donde aparecen los short descripción etc… también elimino lo de link more etc. hasta ahi todo bien, el problema es que en mi web no puedo ver los cambios. he borrado, smarty de todas las maneras posible, el cache, he borrado las carpetas manualmente, he borrado el cache del 3 navegadores que tengo etc y no hay manera que se me refleje el cambio, Cuando mira con la herramienta de desarrolladores sigue apareciendo la linea {if Tools::strlen($category->description) > 350} <div id="category_description_short" class="rte">{$description_short}</div> cuando miro el código fuente también. os envio el código que tengo en categoría.tpl a ver si me podes ayudar con esto. {include file="$tpl_dir./errors.tpl"} {if isset($category)} {if $category->id AND $category->active} {if $scenes || $category->description || $category->id_image} <div class="content_scene_cat"> {if $scenes} <div class="content_scene"> <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {if $category->description} <div class="cat_desc rte"> {if Tools::strlen($category->description) > 500} <div id="category_description_full" class="visible">{$category->description}</div> {else} <div>{$category->description}</div> {/if} </div> {/if} </div> {else} <!-- Category image --> {*<div class="content_scene_cat_bg"{if $category->id_image} style="background:url({$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category_default')|escape:'html':'UTF-8'}) right center no-repeat; background-size:cover; min-height:{$categorySize.height}px;"{/if}> {if $category->description} <div class="cat_desc"> <span class="category-name"> {strip} {$category->name|escape:'html':'UTF-8'} {if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'} {/if} {/strip} </span> {if Tools::strlen($category->description) > 500} <div id="category_description_full" class="visible rte">{$category->description}</div> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div>*} {/if} </div> {/if} {*<h1 class="page-heading{if (isset($subcategories) && !$products) || (isset($subcategories) && $products) || !isset($subcategories) && $products} product-listing{/if}"><span class="cat-name">{$category->name|escape:'html':'UTF-8'}{if isset($categoryNameComplement)} {$categoryNameComplement|escape:'html':'UTF-8'}{/if}</span>{include file="$tpl_dir./category-count.tpl"}</h1>*} {if isset($subcategories)} {if (isset($FIELD_subcategories) && $FIELD_subcategories eq 1) || !isset($FIELD_subcategories) } <!-- Subcategories --> <div id="subcategories"> <p class="subcategory-heading">{l s='Subcategories'}</p> <ul class="clearfix"> {foreach from=$subcategories item=subcategory} <li> <div class="subcategory-image"> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}" title="{$subcategory.name|escape:'html':'UTF-8'}" class="img"> {if $subcategory.id_image} <img class="replace-2x" src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')|escape:'html':'UTF-8'}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img class="replace-2x" src="{$img_cat_dir}{$lang_iso}-default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> </div> <h5><a class="subcategory-name" href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'html':'UTF-8'}">{$subcategory.name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> {/if} {/if} {if $products} <div class="content_sortPagiBar clearfix"> <div class="sortPagiBar clearfix"> {include file="./product-sort.tpl"} {include file="./nbr-product-page.tpl"} {include file="./product-compare.tpl"} </div> {*<div class="top-pagination-content clearfix"> {include file="$tpl_dir./pagination.tpl"} </div>*} </div> <div class="{if isset($FIELD_categoryShowAvgRating) && !$FIELD_categoryShowAvgRating}hide-rating{/if}{if isset($FIELD_categoryShowColorOptions) && !$FIELD_categoryShowColorOptions} hide-color-options{/if}{if isset($FIELD_categoryShowStockInfo) && !$FIELD_categoryShowStockInfo} hide-stock-info{/if}{if isset($FIELD_quickView) && $FIELD_quickView != 1} hide-quickview{/if}"> {include file="./product-list.tpl" products=$products} </div> <div class="content_sortPagiBar"> <div class="bottom-pagination-content clearfix"> {include file="./product-compare.tpl"} {include file="./pagination.tpl" no_follow=1 paginationId='bottom'} </div> </div> {/if} {elseif $category->id} <p class="alert alert-warning">{l s='This category is currently unavailable.'}</p> {/if} {/if} Link to comment Share on other sites More sharing options...
Miqueloco Posted March 11, 2016 Share Posted March 11, 2016 Prueba limpiando el caché. Parametros avanzados->Rendimiento y en la sección Smarty pulsa el botón para limpiarlo. Link to comment Share on other sites More sharing options...
printbag.es Posted March 11, 2016 Author Share Posted March 11, 2016 Hola, Nada eso ya lo he hecho varias veces hoy, y no hay manera, lo he borrados hasta de el panel del hosting, Link to comment Share on other sites More sharing options...
Miqueloco Posted March 11, 2016 Share Posted March 11, 2016 ¿Tienes forzar compilación activado? Está justo encima del botón de limpiar el caché. Link to comment Share on other sites More sharing options...
printbag.es Posted March 11, 2016 Author Share Posted March 11, 2016 Email hola, si te envio Una Captura de Pantalla Para Que Veas Como lo tengo a ver si hay algo Que Haya Hecho mal. Aparte de eso Comentar Que hice otra modificacion en El Mismo archivo para ver si se reflejaba Y Si volvi un reflejo de mí y cargar la modificion. Link to comment Share on other sites More sharing options...
Miqueloco Posted March 14, 2016 Share Posted March 14, 2016 En ese caso quizás no has cambiado realmente el código que debieras. ¿Puedes exponer lo que hiciste incluyendo capturas o código? Link to comment Share on other sites More sharing options...
Miqueloco Posted March 24, 2016 Share Posted March 24, 2016 ¿Sigue el hilo activo? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now