Hey everyone,
Can anyone help as to the best approach here:
I'm trying to build a breadcrumb navigation and dropdown and my site structure is similar to:
Home
|
- Advice
|
-- Advice Category 1
|
|- - - Advice Page 1.1
|- - - Advice Page 1.2
|- - - - Advice Page 1.2.1
|- - - - Advice Page 1.2.2
|- - - Advice Page 1.3
|
- - Advice Category 2
|
|- - - Advice Page 2.1
When the user is on Advice Page 1.1 (child of Category 1) the navigation should output in dropdowns:
Advice - Advice Category 1 - Advice Page 1.1
Advice Category 2 - Advice Page 1.1
- Advice Page 1.3
Effectively display
The brothers of the current page the user is on in dropdown 2
The parent and uncles in drop down 1
Another example:
When the user is on Advice page 1.2.1 (grandchild of 1, child of 1.2) the navigation should output in dropdowns:
Advice - Advice Category 1 - Advice Page 1.2 - Advice Page 1.2.1
Advice Category 2 - Advice Page 1.1 - Advice Page 1.2.2
- Advice Page 1.3
Effectively display
The brothers of the current page the user is on in dropdown 3
The parent and uncles in drop down 2
The grandparent and grand uncles in dropdown 1
Hope that makes sense!