Open rtpHarry opened 7 years ago
Some of the wrappers use this shape from CoreShapes.cs:
[Shape]
public IHtmlString PlaceChildContent(dynamic Source) {
return Source.Metadata.ChildContent;
}
Which is used like @Display.PlaceChildContent(Source: Model)
This seems like an attempt to standardise it.
Some (widgets and elements) provide a shortcut on their shape under .Child
which is implemented in the modules IShapeTableProvider
like this.
http://docs.orchardproject.net/en/latest/Documentation/Understanding-placement-info/#wrapper
Says:
But it seems like it's
Not sure if that's in every case or not. I was working with a Part (Orchard.Cw.Disqus) but I found discussion on the web saying that it also worked for Fields.