質問する質問する
 

質問Sharepoint Moss 2007 Navigation Question

  • 2008年3月12日 17:59Afzaal ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

     

    I am experiencing a problem with the navigation. I have a document library and I do not get the navigation bar(if that is what it is called) to display the folders and sub folders below it.

     

    For example in the document library I have a folder called test and a sub folder called test2

    The navigation bar shows :

     

    Home > IT even though I am in the document library. (By the way the site I am in is IT)

     

    Now if I browse to the folder test > test 2

    I still get Home > IT instead of

    Home > Document Center > test > test2

     

    Any help will be appreciated.

     

    Thanks

すべての返信

  • 2008年3月12日 18:23John D. RossMVPユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    I believe you are referring to what is called "bread crumb navigation."  Based on your description, I'm a little confused.  I'm guessing that IT is a site?  However, Document Center is also a site so if you created a new document library under IT I'd expect to see:

     

    Home > IT > Folder > Sub-Folder

     

    I just tested this on my install by creating a subfolder under Documents in the Document Center site and the bread crumbs display as expected. 

     

    If I've misunderstood what you are having issues with please let me know.

     

    John

    SharePoint911: SharePoint Consulting

    http://www.sharepointblogs.com/rossonmoss

     

     

     

  • 2008年3月12日 18:56schmarrap ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

     

    I've also tested on WSs 3.0 created an folder and it showed in the breadcrum navagtion no problem. did you do an changes on the master pages?
  • 2008年3月12日 20:41Afzaal ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Yes you are right, I am precisely looking for the "bread crumb navigation" to work.

    My top level site is IT and I have a document library in it and the test folders in the DL.

     

    For some reason the bread crumbs works only upto 2 levels and anything beyond that does not seem to work.

    I was just wondering if there is a setting that enables the entire path.

    I have also seen it working on our test server but for some reason in production, I cant get it to work and am looking for some help if it can be enabled using some settings.

     

    Thanks

  • 2008年3月12日 20:42Afzaal ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    To be honest. We engaged a consultant to do the install and he did create a "Master Page" for us. I have tried creating a site without using the master page will same results.

     

  • 2008年3月12日 20:43John D. RossMVPユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Have you made any customizations to the master pages or layouts?  Because this definitely does work out of the box.

     

    John

    SharePoint911: SharePoint Consulting

    http://www.sharepointblogs.com/rossonmoss

     

  • 2008年3月12日 20:44John D. RossMVPユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Try creating a new web application and then create a new site collection based on the collaboration portal.  See if the behavior is the same.

     

    John

    SharePoint911: SharePoint Consulting

    http://www.sharepointblogs.com/rossonmoss

     

  • 2008年3月13日 16:24Bob from the Midwest ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Remember, there can possibly be 2 breadcrumbs.  A global breadcrumb which contains sites only, and a content breadcrumb, which contains sites and the current page.  See What the heck is going on with SharePoint breadcrumbs?  for more information.

     

    You might just have the content breadcrumb turned off.  Those can be turned off & on.

     

    Or, did you start choosing "No" to the prompt "Use top link bar from Parent Site" when creating your new sites?  That would alter the bread crumb.  For example, if you create a new site called "A", then a subsite named "B"  all the while answering yes to "Use top link bar from Parent Site", your bread crumb trail would like this:

     

    A>B

     

    Now, if when you create subsite "C" and say "No" to the prompt "Use top link bar from Parent Site", your bread crumb trail will not look like this when you are on site "C":

     

    A>B>C>

     

    instead, it will look like this:

     

    C>

     

    In other words, it won't inherit the navigation from the Parent Site.  And if you now create site "D", saying "Yes" to that prompt, the breadcrumb will be:

     

    C>D

     

    Confusing?  If so, the best thing is to recreate these examples, and you'll easily see what is going on.

  • 2008年3月18日 21:28Afzaal ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

     

    Bob,

    Thanks for the terminology and guiding me in the right direction. I haven't been able to fix the problem yet as I will have to take a hack at the master page to fix it but nevertheless, your assistance is appreciated.

    I will post back, if I figure out the fix.

     

    Thanks

  • 2008年4月15日 17:32deepakjg ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    I'm having the same issue and found some more information.  It looks like if you use the Default.master page, then SharePoint uses the WSS object SPContentMapProvider for rendering breadcrumbs which correctly shows Folders and Sub-Folders.  However if you use a Publishing master page such as BlueGlassBand.master, then SharePoint uses the MOSS object CurrentNavSiteMapProviderNoEncode for rending breadcrumbs which apparently does NOT show Folders and Sub-Folders. 

     

    Does anyone know if this is a bug in CurrentNavSiteMapProviderNoEncode or is it by design?

     

    Thanks.

  • 2008年4月15日 21:14John D. RossMVPユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    The publishing portal is designed to be public facing and anonymous.  The lack of the root site in the global navigation is by design, but many people have requested the same behavior for their internal sites.  I've tested switching the providers and it works just fine.

     

    John

    SharePoint911: SharePoint Consulting

    http://www.sharepointblogs.com/rossonmoss

  • 2008年4月16日 17:58Daastan20 ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

     

    Hi

    I am having problem with breadcrumb navigation. This is what I did:

    1) Copy default.master page and then modified it and saved with different name. It worked fine.

    2) Set the custom master page as default master page and created the default.aspx page. Which are stored in Page library.

     

    Everything work fine but breadcrumb navigation show the  navigation such as Home>Page>default.aspx

    Not sure what is that I am doing wrong. Has any one had a same Issue before ?

    Thank You

    AK

  • 2008年5月7日 13:41Andy Burns ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Deekakjg,

    No, the CurrentNavSiteMapProviderNoEncode navigation provider does work correctly in not showing folders. Really, it's designed for Publishing pages, so it doesn't include the "Pages > xxx.aspx" bit at the end of the breadcrumb for publishing pages, and of course the Pages library for publishing doesn't have folders...

    I've written about this a bit:
     
    My Breadcrumbs have “> Pages > default.aspx” in them

    and

    More SharePoint Breadcrumb WTF
  • 2008年6月25日 9:37Jorge_Carvalho ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     
    Thanks for the tip deepakjg

     

    I was having the same problem with the BreadCrumb being too short in the site directory home and not being present in most sub-sites. I based my MasterPage on BlackBand.master.

     

    So what I did was create a second SiteMapPath object using SPContentMapProvider as SiteMapProvider.

    I changed the TabViewPageLayout to include an empty SiteMapPath with the same Id as my new one so that it would override the MasterPage and show only the default one.

    In most subsites there was already an empty SiteMapPath with the default ID "PlaceHolderTitleBreadcrumb" already overriding and hiding the default crumbtrail

     

    thanks,

    JC