Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 5 Current »

I see there are views defined in all sorts of places, such as:

  • ~/Dinamico/Themes/Default/Views/ContentPages/XXX.cshtml
  • ~/Dinamico/Themes/Default/Views/ContentParts/XXX.cshtml

but then there are also some things in a Shared folder e.g. 

  • ~/Dinamico/Themes/Default/Views/Shared/

If for example I define a part such as this: 

[PartDefinition()]
[RestrictChildren(typeof(foo))]
[AvailableZone("Content", "Content")]
public class CustomPart : PartModelBase
{
    ...
}

The template-first system of defining content assumes the location [ThemeRoot]/Default/Views/[Controller]/*.cshtml, where [ThemeRoot] and [Controller] is configurable during startup.