Category: Optimizely (Episerver)

Episerver – HtmlHelper does not contain a definition for ShellInitializationScript

If you have tried extending the navigation of Episerver and implemented a custom module with its own view and got the following errors: ‘System Web WebPages Html HtmlHelper’ does not contain a definition for ‘ShellInitializationScript’ and the best extension method overload ‘EPiServer Shell Web Mvc Html ScriptExtensions ShellInitializationScript( System Web Mvc HtmlHelper)’ has some invalid

Episerver Carousel using Bootstrap 4

In this post, I will show you how to implement a carousel in Episerver with Bootstrap. Check out demo here first. Create the carousel block The carousel model can be as simple as a container of all carousel items. So in our implementation, we only have one property to our carousel: [ContentType(DisplayName = "Carousel Block",