SharePoint Use Cases

17 Sep, 2008

Site is not highlighted in the top navigation bar

Posted by: Toni Frankola In: SharePoint  Bookmark and Share

We are currently customizing a site for a customer, and while doing it, our top navigation bar suddenly stopped highlighting currently selected sites.

The solution to my problem was simple: we modified top navigation manually and added some additional links to sites. If you are adding links to a subsite, it must be formated like this: “/site”. Do not use “/site/default.aspx” because this will cause the problem mentioned above.

If you have ever worked with top navigation bar on a large site, you probably noticed that it has some limitations. I personally like to use Site Navigation Tree Web Part by KwizCom. For complex scenarios you might also consider Telerik controls.




Comments

1 | Jason

February 19th, 2009 at 9:42 am

Avatar

Perfect – thanks!!

2 | Ewan

February 27th, 2009 at 8:23 am

Avatar

The relative path fix doesn’t work if you have the Publishing feature enabled.

3 | Jason

February 27th, 2009 at 8:44 am

Avatar

This solution worked for me. I had enabled the publishing features and then noticed the navigation bar not highlighting. As indicated in the solution, the links were pointing to “default.aspx” – removing that (and the trailing slash, as I recall) fixed this issue. Thanks!

4 | Col

November 3rd, 2009 at 4:31 pm

Avatar

Where did you go to modify the navigation manually?

Thank you, I have trying to get this working for ages.

Regards
Colleen

5 | Toni Frankola

November 3rd, 2009 at 4:46 pm

Avatar

@Colleen:

On MOSS: Go to Site Actions > Site Settings > Modify Navigation

On WSS: Site Actions > Site Settings > Top Link Bar

6 | Col

November 3rd, 2009 at 6:55 pm

Avatar

Thanks Toni. Although I am assuming this will only work if you are wanting to navigate to default.aspx if you are wanting to navigate further down ‘the tree’ this isn’t going to be a solution?

7 | Toni Frankola

November 4th, 2009 at 3:32 am

Avatar

@Colleen: Correct :(

Comment Form



About

Real-life use case and opinions about collaboration, CRM and web technologies and stuff by Toni Frankola. More...

Categories

All postings on this blog are provided "AS IS" with no warranties, and confer no rights. All entries in this blog are my opinion and don't necessarily reflect the opinion of my employer.