1royaume2jeux Posted November 6, 2015 Share Posted November 6, 2015 bonjour, je souhaiterais ne plus faire apparaitre le texte et la photo presente dans la description de la categorie ou je me trouve sur mon FO. j'utilise la version 1.6.1.0 de PS. merci pour votre aide Link to comment Share on other sites More sharing options...
1royaume2jeux Posted November 6, 2015 Author Share Posted November 6, 2015 je vous fais copie de la partie que je souhaite faire disparaitre merci Link to comment Share on other sites More sharing options...
2FR3 Posted November 6, 2015 Share Posted November 6, 2015 Bonjour, {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) > 350} <div id="category_description_short">{$description_short}</div> <div id="category_description_full" class="unvisible">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {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) > 350} <div id="category_description_short" class="rte">{$description_short}</div> <div id="category_description_full" class="unvisible rte">{$category->description}</div> <a href="{$link->getCategoryLink($category->id_category, $category->link_rewrite)|escape:'html':'UTF-8'}" class="lnk_more">{l s='More'}</a> {else} <div class="rte">{$category->description}</div> {/if} </div> {/if} </div> {/if} </div> {/if} Il te faut supprimer tout ca de themes/default-bootstrap/category.tpl Par contre tu te prive de SEO, dommage ^^ Link to comment Share on other sites More sharing options...
1royaume2jeux Posted December 27, 2015 Author Share Posted December 27, 2015 y a t'il un moyen de faire en sort que l'image et la description soit juste non apparent mais sans les supprimer? Link to comment Share on other sites More sharing options...
yoyo64 Posted March 12, 2017 Share Posted March 12, 2017 bonjour quelqu'un a la soluce ? Link to comment Share on other sites More sharing options...
PixGeek Posted March 12, 2017 Share Posted March 12, 2017 (edited) Faire un display:none; {if $scenes || $category->description || $category->id_image} <div class="content_scene_cat" style="display:none;"> {if $scenes} <div class="content_scene"> Edited March 12, 2017 by One_Man (see edit history) 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