orchardcmsorchardcms-1.6

OrchardCMS Shape tracing not showing up for custom theme


I'm creating a custom theme for my new Orchard site. The shape tracing module is incredibly useful, but for some reason it isn't rendering in my custom theme. I'm not sure what I might be missing to get it to appear.

When I set my site to use the theme TheThemeMachine, it appears just fine at the bottom of the page. When I compare the rendered source from the TheThemeMaching and my custom theme, I see all the CSS & JS references in the head for the shape tracing module. However when I scroll to the bottom of the source of my custom theme, I don't see all the script blogs with the JSON objects. I just see a lot of empty script "shape-tracing-wrapper" blocks.

Ideas?


Solution

  • You're missing a zone named Tail in your document.cshtml. Compare your theme's version with the one in Core/Shapes/Views.