lasseboy Posted March 18, 2013 Share Posted March 18, 2013 I want to delete my sub category page. Se pic! Link to comment Share on other sites More sharing options...
vekia Posted March 18, 2013 Share Posted March 18, 2013 this is subcategories tree block, to delete it you must edit your template file, so go to the themes/your_theme/category.tpl file and remove code i pasted below: {if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} <li class="clearfix"> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}" class="img"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium_default')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium_default.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" class="cat_name">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> {if $subcategory.description} <p class="cat_desc">{$subcategory.description}</p> {/if} </li> {/foreach} </ul> <br class="clear"/> </div> {/if} make a backup of this file, maybe you will want to get it back 1 Link to comment Share on other sites More sharing options...
lasseboy Posted March 18, 2013 Author Share Posted March 18, 2013 Thank you Veika! Solved! Link to comment Share on other sites More sharing options...
vekia Posted March 18, 2013 Share Posted March 18, 2013 thanks for the info, so I marked this thread as solved :-) Link to comment Share on other sites More sharing options...
Recommended Posts