Is it possible to develope a heirarchical left navigation sites->subsite
-
10-12-2019 - |
Question
Now we have a scenario here where we are migrating from 2007 to 2010. Our client had been using a custom left navigation but that is no longer functional. I want to build a navigation like the shown below. The site collection is of publishing one.
In the left navigation, I want show subsites under a specific site like:
"Careers" has subsite "Local Contacts". Local Contacts has subsites "Austria" "Finland" and so on...
And if we go to Austria -> it has its' own subsites like
How can I develop such a navigation using a control or an out of the box way in SharePoint 2010.
The referenced navigation can also be seens at the following web: http://www.storaenso.com/careers/local-contacts/Pages/Localcontacts.aspx
Solution
You have to consider that :
- Quick Launch out-of-the-box only supports maximum 2 levels. 1st link from Arsalan is actually replacing the navigation with a custom control - viable solution.
- Only Top-Level navigation allows multiple-levels - but you need to configure it properly.
Both these menus however rely on the an ASp:MENU control linked to a Navigation Provider (read here for more about these http://kjellsj.blogspot.ch/2012/06/sp2010-navigation-sitemapprovider.html or http://ktskumar.wordpress.com/2008/04/14/sharepoint-navigation-providers-part-1/).
As a simplest alternative (no actual code required - but a change in the Master page), you could actually consider using the ASP:MENU control (just as SharePoint does) and specify it's ID to point to the Global Navigation provider, and change menu Orientation to Vertical, see here http://www.sharepointbinder.com/1/post/2012/03/displaying-the-top-nav-in-place-of-the-quick-launch-in-sharepoint-2010.html
In the default master page there are 2 places where you can find these.
OTHER TIPS
Geek,
You can use CSS and JavaScript to customize the left navigation or make a Visual Web Part and place on Left Web Part Zone!
Here are some tutorials to start:
How To Customize Current Navigation (Left Navigation) in SharePoint 2010 To Show Multiple Levels?
Expanding and collapsing the left navigation in SharePoint 2010