Amaranth Posted May 25, 2012 Share Posted May 25, 2012 Hi, I want to know how can i delete the category image that is showing when you enter in that category, because i don't like to see it above all the subcategories that category has. I think it's editing the file named category.tpl, but i don't know how to do it. Thanks a lot for all the help you can offer me. Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted May 25, 2012 Share Posted May 25, 2012 You are correct. In your category.tpl simple comment out (or remove) the following {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} Remember to backup your file before starting. Hope that helps! Marty Shue Link to comment Share on other sites More sharing options...
Clean Mitts Posted May 31, 2012 Share Posted May 31, 2012 Is there anyway to show a different image here? Link to comment Share on other sites More sharing options...
codegrunt Posted May 31, 2012 Share Posted May 31, 2012 The template is just standard HTML/CSS/Javascript + smarty placeholders so anything you can do with those things you can do in the template. So you could set all categories to have the same image, add in special cases for certain category IDs, etc. Link to comment Share on other sites More sharing options...
ecokeenuo Posted June 9, 2012 Share Posted June 9, 2012 Hi, I did what Marty suggested to remove the above piece or code. However. I still get a the category image appearing just above the list of products. Please help. Thanks. Link to comment Share on other sites More sharing options...
banense Posted July 26, 2012 Share Posted July 26, 2012 Please compile smarty !!! 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