Isaac
asked on
Top Navigation
ASKER
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.
The javascript error I get says
Element not found.
init.js
Code: 0
I'll try the chrome next.
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
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:
The function itself is from the script file:
/_layouts/1033/hierarchica llistbox.j s
The navigation entries are generated using this call/object:
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
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
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(...
The function itself is from the script file:
/_layouts/1033/hierarchica
The navigation entries are generated using this call/object:
... = new NavigationNode(...
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Found a solution online.
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