Author Topic: How to display more levels of categories on index.php / home.html?  (Read 5067 times)

0 Members and 1 Guest are viewing this topic.

Offline adrian.gab

  • Newbie
  • *
  • Posts: 10
    • View Profile
Hi All,

I was wandering if any body knows how to get the {categories} function on the index.php (home.html template file) to display more than two levels of categories on the main home page?

e.g. Currently I have a top level category called Travel. Underneath the Travel category I have a sub category called Italy. Underneath the Italy subcategory I have a sub category called Venice. e.g.

Code: [Select]
Travel
    |____
       Italy
         |____
               Venice

The problem is that on the main home page (index.php / home.html template file) it only displays the 1st and 2nd level categories e.g. Travel, Italy.

I would like to be able to choose any many sub levels to display if at all possible.

I've had a look at the code in index.php for the categories function but I can't figure it out.

Thanks heaps,
Adrian
« Last Edit: October 11, 2006, 02:54:22 PM by adrian.gab »