cel3ct Posted November 9, 2016 Share Posted November 9, 2016 W jaki sposób można usunąć opisy, które pojawiają się pod miniaturkami podkategorii w Presta 1.6.0.11? Link to comment Share on other sites More sharing options...
0 endriu107 Posted November 9, 2016 Share Posted November 9, 2016 Nie jest to tyle zależne od wersji presty co od samego szablonu, zazwyczaj jest to plik category.tpl i w nim należy to usunąć. Link to comment Share on other sites More sharing options...
0 cel3ct Posted November 9, 2016 Author Share Posted November 9, 2016 (edited) Oto fragment kodu z category.tpl <!-- Subcategories --> <div id="subcategories"> <h3 class="title-1">{l s='Subcategories'}</h3> <p class="subcategory-heading"></p> <ul class="grid grid-6"> {foreach from=$subcategories item=subcategory} <li class="item"> <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'|truncate:350}</a></h5> {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} </li> {/foreach} </ul> </div> Czy dobrze rozumiem, że należy usunąć kawałek: {if $subcategory.description} <div class="cat_desc">{$subcategory.description}</div> {/if} Edited November 9, 2016 by cel3ct (see edit history) Link to comment Share on other sites More sharing options...
0 endriu107 Posted November 9, 2016 Share Posted November 9, 2016 Tak. Link to comment Share on other sites More sharing options...
0 cel3ct Posted November 9, 2016 Author Share Posted November 9, 2016 Dzięki za pomoc. Link to comment Share on other sites More sharing options...
Question
cel3ct
W jaki sposób można usunąć opisy, które pojawiają się pod miniaturkami podkategorii w Presta 1.6.0.11?
Link to comment
Share on other sites
4 answers to this question
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