Orchard CMS Display Types

When trying to understand templating and the placement of parts in Orchard CMS, you will encounter the notion of "Display Types." By looking at examples, one quickly gets a sense of what these values are, and they are partially documented on the official documentation site. I wanted a comprehensive list of possible values, so I searched the code and found only four:

  1. Detail
  2. Summary
  3. DetailAdmin
  4. SummaryAdmin

Each content item has two types of templates: editor templates and display templates. Display types with the "Admin" suffix target the editor templates the others target the display templates. Similarly there are two contexts for each content item: detail and summary. A content item is rendered as "summary" in both lists and projections as well as other modules that might aggregate content (like the sockets and connectors module).


No Comments