Pure MVC Sitemap with Navigation Widget and Project Feature

Posted by Community Admin on 04-Aug-2018 21:58

Pure MVC Sitemap with Navigation Widget and Project Feature

All Replies

Posted by Community Admin on 16-Nov-2015 00:00

Hey everyone,

I looked all over for an example of a Pure MVC Site Map using Sitefinity 8.x with the Project Feature templates, but couldn't find any examples online, so I thought I'd post this. I'm using Sitefinity 8.2, but this should work in 8/8.1 as well. I was glad to see that the Navigation MVC widget came with a Sitemap template. However, I wanted a KendoUI implementation, so I pulled the embedded resources out in the template and slapped a quick call to Kendo TreeView in a script tag.

 

Steps to creating a Pure MVC Site Map in Sitefinity 8.x and Kendo UI TreeView:

1. Download github.com/.../NavigationView.KendoUISiteMap.cshtml

2. Download ResourceExtensions.cs from github.com/.../sitefinity-mvc-helper-resources and add it to your project. Compile. This step is required to resolve the KendoAll javascripts from the Telerik.Sitefinity.Resources.dll

3. Drop the Navigation MVC widget onto your page click Edit.

4. Drop down the Template menu, and you should see your KendoUISiteMap appear in the menu. Select it. Publish. 

BAM! It should work like a charm. Project Feature makes this super simple. Let me know if you have any trouble here.

Best,

Jesse

 

This thread is closed