problem with setting knowledgebase enabled to n

Posted By bpaluch Mon 15 Jul 2013
Add to Favorites0
Author Message
Paul
 Posted Thu 18 Jul 2013
große Käse

große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)große Käse - (508,382 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
This issue came about because of the way we removed items from the menus. We changed the web_menu.sitemap in a newer version, so some items that were second level nested became top level. Therefore some of the code that was designed to remove them from the second level didn't work and errored.

We've improved the code in the latest development version (which we hope to release in next few days) to handle up to two levels, so these problems should not occur. It basically tries to remove the item, and then tries as if it is a child one - both times within a try/catch.

If you go to codeplex, there are downloads of the newer v2.5 available (go to downloads page, then check the versions on the right hand side). Grab the following file:

/UserControls/Skin/NavigationMenu.aspx (and the .vb)


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
Sat 20 Jul 2013 by Paul
bpaluch
 Posted Wed 17 Jul 2013
Supreme Being

Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)

Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70, Visits: 175
shouldn't the enabled setting remove that line in code, just like it does it for the news menu?
kalkhovm
 Posted Mon 15 Jul 2013
Supreme Being

Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)Supreme Being - (9,530 reputation)

Group: Forum Members
Last Active: Mon 15 Jul 2013
Posts: 14, Visits: 153
If you are attempting to remove the knowledgebase option from them menu, you also need to make a change to the web_menu.sitemap file by deleting the line that starts
<siteMapNode url="~/knowledgebase.aspx"
 
Once uploaded this should cure your problem
bpaluch
 Posted Mon 15 Jul 2013
Supreme Being

Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)Supreme Being - (45,706 reputation)

Group: Forum Members
Last Active: Thu 23 Jul 2020
Posts: 70, Visits: 175
when I changed the knowledgebase enabled setting to 'n' from 'y', the whole site gives me a 404 error, and in the error log, I see 'Object reference not set to an instance of this object'. I would expect the knowledgebase list to get removed from top menu navigation, but this is not happening and I get a 404 error instead...

Please advise,

B. Paluch

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top