Nov 26, 2013 at 11:27 PM
Edited Nov 28, 2013 at 8:42 AM
I have a custom content type that is a container - CustomPage
I have another content type that is containable - ItemPage
I've created the following alterantes:
- for Content: Content-CustomPage,
- for ContainerPart: Parts.Container.Containable-CustomPage,
- for ItemPage summary: Content-ItemPage.Summary
I've connected the ContainerPart alternate with the ItemPage summary alternate and everything renders ok. My problem is connecting the Content alternate to the ContainerPart
I know that the default Content renderer with some magic calls the default ContainerPart renderer but I can't figure out how.
This question was also put on
but I didn't really understand the solution.
I want to do something like
but I can't figure out how.
I've tried something like this with no luck
var shape = BuildDisplay(Model.ContentItem.ContainerPart);