Hmmm…. this must be one of the most stupidest bugs I have ever seen in SharePoint.
So what’s the deal?
I’ve got a sitecollection in SharePoint 2010 that will eventually contain about 35 subsites. After creating the first 18 subsites, my global navigation showed only the three subsites I wanted the enduser to see. I hid the other 15 subsites.
My global navigation bar looked like this:
After added an additional 10 sites (all hidden from navigation), I suddenly noticed the menu item “Speaker pool” was gone.
So, trying to figure out what happened I checked the navigation settings for the option “Show subsites” and of course the permission settings to see if the menu item was security trimmed. Nothing out of the ordinary here.
Have a look at my global navigation settings:
Eventually, while just fiddling around, we figured it out…
As you may know, you can configure how many items the global navigation will show (see below). It was set to 20 by default.
I now had 35 subsites (of which 32 were hidden). It turns out SharePoint doesn’t look at the fact that you may hide subsites. So, all subsites (hidden or not) are counted to see how many subsites will be shown in the global navigation. Duh!
So, setting the maximum items to 50 solved the problem!
I’m not sure in what order the menu’s are retrieved from the database and why the item “IS Intranet” did show up and “Speaker pool” didn’t. I expect it has something to do with de creation date of the site…
And I didn’t test this, but I guess this will also go for the current navigation (quick launch).