Forums
This topic is locked
Creating a Sitemap
Posted 24 Oct 2001 03:37:29
1
has voted
24 Oct 2001 03:37:29 niraj sharma posted:
How would I use the nested repeat region behavior to create a sitemap derived from a database. My sql database is as follows:
Menu Table:
-----------
MenuID
MenuParent
MenuName
Basically, I want to accomplish the following menu structure:
Corporate (main nav item - grandparent)
- About Us (parent)
- Careers (parent)
- Benefits (child)
- Current Openings (child)
- Our Culture (child)
- Partners
Solutions (main nav item - grandparent)
- Solution 1 (parent)
- Solution 1a (child)
- Solution 1b (child)
- Solution 1c (child)
- Solution 2
- Solution 3
Serivces (main nav item - grandparent)
- Service 1(parent)
- Service 1a(child)
- Service 1a(child)
- Service 2(parent)
- Service 3(parent)
etc....
Each menuID has a MenuParent, but if the parent is 0, then it is a top-level navigation item (a grandparent).