Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Any recommendations for replacements for portal navigation?

  Asked By: Aurelio    Date: May 06    Category: Sharepoint    Views: 847

I'm trying to find a web part - free, commercial or otherwise - that would sit on the LHS of the portal pages and replace the "Current Location" part. I want a part that will show more depth beyond where you are, and continue to include the areas elsewhere in the portal.

I thought I'd seen such a part commercially available but I can't find it any more.

Has anyone else done anything similar with their portal and can share their findings on the product they are using?

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Kyla Eckert     Answered On: May 06
 
Answer #2    Answered By: Damon Garner     Answered On: May 06

I created a control that generates a breadcrumb string. The code is below. You’ll need to add a reference to it to your area definition template pages.

namespace ASI.PortalLibrary.WebControls {
using System;
using System.Collections;
using System.Security.Principal;
using System.Text;
using System.Web;
using System.Xml;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.Web.UI;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;
using Microsoft.SharePoint.Portal;
using Microsoft.SharePoint.Portal.Topology;
using Microsoft.SharePoint.Portal.Security;
using Microsoft.SharePoint.Portal.SiteData;
using Microsoft.SharePoint.Portal.SingleSignon;
using Microsoft.SharePoint.Portal.WebControls;
using System.DirectoryServices;
using System.Text.RegularExpressions;
using ASI.Utils;
using ASI.Utils.Security;

/// <summary>

/// Control that handles searching for contacts

/// </summary>

public class BreadCrumbControl : System.Web.UI.UserControl {

private PortalContext m_PortalContext = null;

private void Page_Load(object sender, System.EventArgs e) {
}
protected override void Render(HtmlTextWriter output) {

// Return the currently logged in user

string breadCrumbString = "";

string strTitle = "";

string url;

int depth = 0;

m_PortalContext = PortalApplication.GetContext(this.Context);

bool hasParent = true;

PageInfo pi = (PageInfo)Context.Items["SPS_PageInfo"];

Guid currAreaGuid = pi.CategoryId;

Area currArea = AreaManager.GetArea(PortalContext.Current, currAreaGuid);

strTitle = currArea.Title;

url = currArea.Web.Url;

breadCrumbString = "<a href=\"" + url + "\">" + currArea.Title + "</a>";
while(hasParent) {
try {
currArea = AreaManager.GetArea(PortalContext.Current, currArea.ParentID);
url = currArea.Web.Url;
breadCrumbString = "<a href=\"" + url + "\">" + currArea.Title + "</a> >> " + breadCrumbString;
strTitle = currArea.Title;
} catch (System.Exception exc) {
hasParent = false;
}
}
output.Write(breadCrumbString);
}
#region Web Form Designer generated code
override protected void OnInit(EventArgs e) {
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent();
base.OnInit(e);
}
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent() {
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
}
}

 
Answer #3    Answered By: Alexis Ellis     Answered On: May 06

You might take a look at Omnisys Power Navigation Bar
www.omnisys.co.il/.../main.asp?lngCategoryID=2162

The online example doesn't show  it very well, but I have seen an implementation of it that does just as you described.

 
Answer #4    Answered By: Percy Beach     Answered On: May 06

Also this one...

https://www.spsdev.com/AreaMenu.aspx