I'm working on integrating a search provider and for that we are using a custom menu item. This worked fine in EPiServer 6, but in when upgrading to EPiServer 7 it no longer shows up at all.
What has changed since version 6 in regards to the episerver shell?
What I have found and fixed so far is that ClientResources moved from namespace EPiServer.Shell.Web.Mvc.Html to EPiServer.Framework.Web.Mvc.Html: http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=62721
However, even after fixing that the menuitem still won't show up. Here's what the code for the menuitem looks like:
.aspx:
using System.Web.UI;
using EPiServer.Shell.Navigation;
namespace Test.Navigation
{
[MenuSection( MenuPaths.Global + "/test", Text = "Test" )]
[MenuItem( MenuPaths.Global + "/test/manager", Text = "Manager", Url = "~/Admin/SitePlugin/TestManager.aspx" )]
public partial class TestManager : Page
{
}
}
Hello,
I'm working on integrating a search provider and for that we are using a custom menu item. This worked fine in EPiServer 6, but in when upgrading to EPiServer 7 it no longer shows up at all.
What has changed since version 6 in regards to the episerver shell?
What I have found and fixed so far is that ClientResources moved from namespace EPiServer.Shell.Web.Mvc.Html to EPiServer.Framework.Web.Mvc.Html: http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=62721
However, even after fixing that the menuitem still won't show up. Here's what the code for the menuitem looks like:
.aspx:
.aspx.cs:
in web.config/configuration/episerver.shell/protectedModules:
<add name="TestNavigation">
<assemblies>
<add assembly="Test.Navigation" />
</assemblies>
</add>
What do I need to change/add to get it to work in EPiServer 7?