Jump to content

How to increase/decrease the number of links displayed in the footer's Categories Block


Abdillokra

Recommended Posts

Hi guys,

 

 

I just found how to ad a link to the Categories Block in the footer this way :

 

1. Go to the blockcategories_footer.tpl file in yout them's folder:

 

/themes/<your theme>/modules/blockcategories/blockcategories_footer.tpl

 

 

 

2. Look for this line :

 

{if $smarty.foreach.blockCategTree.index <= 4}

 

The current  number 4 above displays 5 links on the categories block of the footer.

 

 

 

3. To add a 6th link change the 4 value to 5  like this :

 

{if $smarty.foreach.blockCategTree.index <= 5}

 

 

To display only 3 links, make it 3:

 

{if $smarty.foreach.blockCategTree.index <= 2}

 

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...