Alternates for Overriding Editor/Display Templates

Topics: Customizing Orchard, Writing modules
Oct 20, 2011 at 4:41 PM

Is it possible to create/override an alternate for a shape that is created in the EditorTemplates or DisplayTemplates folders? I have been able to use alternates successfully to override shapes for a particular ContentType for example, but I have been unable to do so to anything that is placed in the EditorTemplates folder (e.g. Parts.Common.Body.cshtml). Is this by design, or is it a limitation? Is there a way to work around it?

Oct 20, 2011 at 4:54 PM

Editor templates don't have alternate right now, because they are not shapes directly. This will be done in a later release, the code is already existing, but it's breaking a lot of things.