Jump to content

[solved] How to edit the /home page


Matt_BC

Recommended Posts

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

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

  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...