How to show Category and Sub Category on home page in a treeview fashion?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
Hi guys,

My website is almost there and I need your help to make it better.  Thanks in advance.

I only have 4 categories, and about 12 sub categories.  The default way is to display only the categories on the home page.  How do I show both the category and sub category on the home page?  How can I show it in a treeview fashion?

Thanks so much,

Brandon
Hace 13 años
Any answer on this one? Somebody help!
Hace 13 años
I suppose you should modify the CategoryNavigation.ascx (in Modules).
Hace 13 años
//Modify the following code in CategoryNavigation.ascx.cs to show all category and sub category
              //  for (int i = 0; i <= breadCrumb.Count - 1; i++)
              //      if (breadCrumb[i].CategoryId == category.CategoryId)        
                        CreateChildMenu(breadCrumb, category.CategoryId, currentCategory, level);
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.