🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.
AI OnAI Off
🔧 Maintenance Alert: World will be on Read-Only Mode on February 18th, 10:00 PM – 11:00 PM EST / 7:00 PM – 8:00 PM PST / 4:00 AM – 5:00 AM CET (Feb 19). Browsing available, but log-ins and submissions will be disabled.
The way I have imlemented is that I have the very top level categories are in the the CMS. And then I use the categories defined on those pages to build the child categories like below
CatalogNodes nodeslevel2 = CatalogContext.Current.GetCatalogNodes(catalogs.Catalog[0].Name, pTopCatPage.URLSegment.ToString());
You need to build the child categories one by one.
Hope this was helpful.
Regards
Sandeep
Hi
Could some please provide me the code to build a category menu in episerver. I have to build a two level category menu. I need to build this from the catalog and not the page structure like the default site.
Kind Regards
Sandeep