Matt_BC Posted July 3, 2013 Share Posted July 3, 2013 Hi all, I'm looking to edit the /home page on the website. http://hellosofas.com/home In particular, I'm looking to remove the category description text from the top that duplicates the description text of the category pages. Any advice would be appreciated. Thanks Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 you want to remove all descriptions or maybe just for certain categories? Link to comment Share on other sites More sharing options...
Matt_BC Posted July 4, 2013 Author Share Posted July 4, 2013 Hi Vekia, Thank you for your reply. I want to remove all of the category descriptions for the /home/ page (whilst obviously keeping them on the actual category pages) - it is causing duplicate content issues for SEO. Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 okay, so you have to: open the category.tpl file located in your theme directory {if $subcategory.description} <p class="cat_desc">{$subcategory.description}</p> {/if} change code above to: {if Tools::getValue('id_category')!=2} {if $subcategory.description} <p class="cat_desc">{$subcategory.description}</p> {/if} {/if} and that's all, all descriptions of subcategories on home category will disappear enjoy! Link to comment Share on other sites More sharing options...
Matt_BC Posted July 4, 2013 Author Share Posted July 4, 2013 That works perfectly. Thank you very much for your help. Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 you're welcome im glad that i could help you now i can mark this thread as [solved] regards Link to comment Share on other sites More sharing options...
Devendra1203 Posted April 11, 2015 Share Posted April 11, 2015 Hi, I want to edit the template, how can i do this? because i tried a lot with manage hooks, but no success. Eg. I have one module hook location on bootstrap page is in column div. I want to take out that module and place in wider section ( in container div ) 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