GEMINI23 Posted December 1, 2010 Share Posted December 1, 2010 Hello, I need to remove the "subcategories" title that appears on any page after a main category has been clicked on. I can’t find the location of the file that I need to edit. thank you Link to comment Share on other sites More sharing options...
chrissie Posted December 1, 2010 Share Posted December 1, 2010 the file you need is themes/yourtheme/category.tpl Link to comment Share on other sites More sharing options...
GEMINI23 Posted December 1, 2010 Author Share Posted December 1, 2010 Sorry chrissie, but I don't have this file "yourtheme" inside Themes. Are you sure that this file is in that place? Link to comment Share on other sites More sharing options...
chrissie Posted December 1, 2010 Share Posted December 1, 2010 no - "yourtheme" is the name or YOUR theme folder, whatever that maybe Link to comment Share on other sites More sharing options...
GEMINI23 Posted December 1, 2010 Author Share Posted December 1, 2010 Ok, I have found the file category.tpl, but what do I need to modify for removing the "Subcategories" title?Themes/category.tpl (lines 32-47): {/if} {if isset($subcategories)} <!-- Subcategories --> {l s='Subcategories'} {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}"title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} Thanks a lot Link to comment Share on other sites More sharing options...
chrissie Posted December 1, 2010 Share Posted December 1, 2010 {l s='Subcategories'} on the above line -remove the word "Subcategories" - but DON'T take out the ''so that line should just read : {l s=''} Link to comment Share on other sites More sharing options...
GEMINI23 Posted December 1, 2010 Author Share Posted December 1, 2010 Thank you very much chrissie.I have followed your instructions and the result has been perfect.How can I put "solved" in this subjet? Link to comment Share on other sites More sharing options...
rocky Posted December 2, 2010 Share Posted December 2, 2010 Click the EDIT button on your first post, then you can edit the topic's title. 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