Is there a simple way to show menu expanded to two levels?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hi,

I am trying to setup a menu so it looks like this:

books
->fiction
->biographies

music
-> classical
-> jazz

instead of the out-of-the-box way which would be one submenu expanded at a time.


Alternatively, maybe there is a simple way to split the category tree into more than one tree e.g.

-----
books by author:
-> author1
-> author2

books by genre:
-> fiction
-> biographies

I know I could go in and hack the code but maybe there is some way to wouldn't inhibit future upgrading so much?

Thanks!

Filip
12 years ago
To anaswer my own question ;-) .. I found making a copy of CategoryNavigation.cs to work quite nicely.

Once a copy is made (and inserted into appropriate template) all I needed to do is go to line 131 in CategoryNavigation.ascx.cs and change the rootCategory parameter in call to CreateChildMenu()


            else
                breadCrumb = new List<Category>();

            CreateChildMenu(breadCrumb, 67, currentCategory, 0);
        }


and there is it .. a bunch of independent category trees manageable right there from the panel.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.