4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: adrian.gab on October 02, 2006, 03:00:11 PM

Title: How to display more levels of categories on index.php / home.html?
Post by: adrian.gab on October 02, 2006, 03:00:11 PM
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