WSS v3 Flyout Menus

I’m used to using flyouts in the tabbed navigation in MOSS to enhance the navigation capabilities.  (See my earlier post on this to find out how to make it happen.)

Today I wanted to do the same thing in a WSS master page, but just changing the MaximumDynamicDisplayLevels value wasn’t working.  I found this post from Eric Shupps that explained why.  Depending on how you set up your WSS Site Collection, you may need to replace:

<asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002" / >

in your master page with this:

<asp:SiteMapDataSource
ShowStartingNode="True"
SiteMapProvider="SPSiteMapProvider"
id="topSiteMap"
runat="server" />

See Eric’s post for more details.

Note added 2/6:

I don’t know why it didn’t occur to me before, but this also works for the left Quick Launch menu.  In that case, you will want to replace:

<asp:SiteMapDataSource
SiteMapProvider="SPNavigationProvider"
ShowStartingNode="False"
id="QuickLaunchSiteMap"
StartingNodeUrl="sid:1025"
runat="server" />

in your master page with this:

<asp:SiteMapDataSource
SiteMapProvider="SPSiteMapProvider"
ShowStartingNode="True"
id="QuickLaunchSiteMap"
runat="server" />
Technorati tags: , ,

Flyout Navigation in SharePoint 2007

Following the tip that my colleague Mauro Cardarelli posted in his blog, I still wasn’t seeing any flyouts on the navigation tabs.  I fiddled with things for a while and finally figured out why.  I needed to change a single navigation option to make things work.

Say you have a site hierarchy like:

Home |

         | Offices |

                      | Cleveland

                      | New York

                      | San Francisco

                      | etc.

Once you’ve set the MaximumDynamicDisplayLevels property to 2 in your master page, you also need to go to the Offices site and do Site Actions/Site Settings/Navigation and check the Show Subsites checkbox.  Go back to your Home Page, and there are the flyouts!

Technorati tags: , , ,