Topics: Core, General
May 4, 2013 at 4:15 PM
Edited May 4, 2013 at 4:17 PM
i am not very sure where the @Display(Model.Header) come from inside this .cshtml:
<article class="media-item @contentTypeClassName">
    @if (Model.Meta != null) {
    <div class="metadata">
@if(Model.Footer != null) {


is the Header a kind of zone, and come from the placement.info, such as:

<Match DisplayType="SummaryAdmin">
<Place Parts_Document_Metadata="Meta:6"


May 4, 2013 at 4:21 PM
Edited May 4, 2013 at 4:26 PM
and also Model is possibly Layout zone, right?
here it is in MediaLibrary, so this Model is Media which is from migration.cs , Right?
May 4, 2013 at 10:01 PM
Edited May 4, 2013 at 10:02 PM
Yes, Header is a zone. It does not "come from placement" however. Zones are just dynamic properties of their parent shape. They are created the first time they are used.
Model in this context is the layout shape (not a zone), if the template you are seeing that in is a layout.cshtml file or an alternate of that. It looks like a Content shape however. What file is this?
Not sure I understand your question about Medis and migration.cs.