Quantcast
Viewing all articles
Browse latest Browse all 6894

Guide for creating EPiServer module in MVC

For a client I really would like to add some new module at the top of the CMS navigation bar (after user groups). With some tutorials and trail and error I managed to get the module in the navigation and also it loads a page. Still this is a view without any style or layout. 

I've read some articles and tried to add shell sources. This works as expected. Still when I try and add

 @Html.Raw(Html.ShellInitializationScript())
 @Html.CreatePlatformNavigationMenu()

I get problems in different versions with System.Web.MVC. I found an article to ignore those warnings but then at runtime I get errors like;

'HtmlHelper' does not contain a definition for 'ShellInitializationScript' 

So my questions to you;

Is it possible to develop modules in MVC? I also noticed geta had a plugin but that is gone now?

  1. Is there a up to date guide/tutorial you suggest?
  2. Is there a layout from EPiServer I can use instead of reinventing the wheel?
    1. Anyone stumble upon this mismatch in System.Web.MVC and knows how to solve it?

Viewing all articles
Browse latest Browse all 6894

Trending Articles