Bootstrap style affix navigation with intra page links.

Topics: Customizing Orchard
Jul 10, 2014 at 2:42 PM
Edited Jul 10, 2014 at 3:00 PM
I am building a widget that will look like the affix subnav on the page. I have already implemented something similar here:

The idea is to display intra page navigation for appropriate headers.

I don't like the approach that I used in, because it modifies the Layout.cshtml page. Instead, I am looking to create a widget/content type/content part that does this. Ideas?

Currently, I am considering these approaches:
  • create a new content part or boolean field on widgets/content items
  • call it "display on intra page navigation"
  • this would be similar to the "display on menu" field
  • make a new navigation item that displays these
Useful Resources