Solved

Ask a New Question

Posted on 2009-07-09
4
506 Views
Last Modified: 2012-05-07
In order to get drop down menu in top navigation link I did some modification in Master Page and now the tabs are sorted in alphabetical order. It seems to be a known problem linked with the change of:
SiteMapProvider="SPNavigationProvider" with SiteMapProvider="SPSiteMapProvider"

Someone sad that it should be written a new SPSiteMapProvider which aloud sorting.
Did someone write one?

Replace:
< asp:SiteMapDataSource
ShowStartingNode="False"
SiteMapProvider="SPNavigationProvider"
id="topSiteMap"
runat="server"
StartingNodeUrl="sid:1002" / >
 
with:
 
ShowStartingNode="True"
SiteMapProvider="SPSiteMapProvider"
id="topSiteMap"
runat="server" />
 
and set
 
StaticDisplayLevels="2"
MaximumDynamicDisplayLevels="1"

Open in new window

0
Comment
Question by:gregoireb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Expert Comment

by:sharepointguru14
ID: 24814312
use the publishing top navigation and it gives you drop downs. You can create a publishing portal and then just pull the code from there.

Then in site settings you can click on navigation and then do sort manually rather than sort automatically. This will allow you to specify the order of the links rather than auto sort in abc order
0
 

Author Comment

by:gregoireb
ID: 24815141
Sorry, I didnt catch the idea.
I am in WSS 3.0 (so no MOSS), can you give me more details how I should implement what youve wrote above?
Thank you
0
 
LVL 15

Accepted Solution

by:
sharepointguru14 earned 500 total points
ID: 25407876
You have WSS  (not MOSS), so you have a limited number of providers to choose from. On the internet a lot of people are providing hacks that using the SPSiteMapProvider can be used to enable fly-out menus on the dropdown. However, that is a "hack" and is not the intent of the SPSiteMapProvider. In fact, WSS is not intended to work like a portal and that is one of the reasons you don't get these fly-outs "out of the box" like you do on MOSS. They want you to upgrade to MOSS to get this type of functionality (i.e.: portal functionality). Unfortunately, Microsoft takes away a lot of funcitonality in WSS so people will upgrade to MOSS (they aren't going to give much away for free :).

Thus, you are probably going to have to build your own site map provider to get this functionality. You can inherit from SPSiteMapProvider in your custom site map provider and provide some sorting code in your custom inherited class. Then, you have to add that class to your web.config file so that SharePoint knows you have a new provider.
Link here gets you started
http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomization/thread/1187ab16-9a5d-450e-9832-17f9984d6621

0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question