Top Navigation

Hi,

I am trying to add a tab to the top navigation of my site.  When i try and add a heading in the "Navigation Editing and Sorting" section, nothing happens.  Even if I put a check in the box for 'show subsites' and/or 'show pages'.  Any ideas why?

top nav
Thanks!
LVL 5
IsaacSharePoint Client Side DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rainer JeschorCommented:
Hi,
which SharePoint version and edition?
What is the site template / which features have been activated (like publishing)?

Do you get a Javascript error (in IE visible in the bottom left corner)?

Could you try to open this configuration page with Google Chrome and watch for any scripting errors.

HTH
Rainer
0
IsaacSharePoint Client Side DeveloperAuthor Commented:
The following features have been activated 'Office SharePoint Server Enterprise Site Collection features', 'Office SharePoint Server Publishing Infrastructure' and 'Office SharePoint Server Standard Site Collection features'

The javascript error I get says
Element not found.
init.js
Code: 0


I'll try the chrome next.
0
Rainer JeschorCommented:
Hi,
I had once an issue with the navigation in MOSS 2007 - but I think this part has not changed (just the way the final nav gets rendered).

It seems that one entry in your navigation is not correct and therefore you see nothing.

To solve the issue it gets a little bit complicated but lets try to explain:
I opened the page and set a breakpoint in the Javascript code in that area where the navigation content is generated. In SP2010 it is on the main page inside the function
initializeHierarchicalListBox

Open in new window

There it tries to generate the entries.
The first part is to register the different types of navigation entries - and that was the issue the last time as one navigation entry used a type which did not exist in this list.

The types are created using this function call:
hierarchicalListBox.registerType(...

Open in new window


The function itself is from the script file:
/_layouts/1033/hierarchicallistbox.js

The navigation entries are generated using this call/object:
... = new NavigationNode(...

Open in new window

which is defined in the same file as above.

Now to solve the issue I had to dynamically modify the Javascript object and set the type to an existing one - then I could delete this orphaned entry through the UI and start recreating the navigation.

Hope this makes a little bit sense to you.

KR
Rainer
0
IsaacSharePoint Client Side DeveloperAuthor Commented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IsaacSharePoint Client Side DeveloperAuthor Commented:
Found a solution online.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.