Replies: 1 comment 1 reply
-
Your custom ContentPart should render only Zones and you should not render your fields directly from your part's template instead you use placement rules. e.g. Instead of rendering all fields to default 'Content' zone you may want to have few fields to render on <div>
<div class="left">@await DisplayAsync(Model.Content)</div>
<div> class="right>@await DisplayAsync(Model.Right)</div>
</div> and use placement for your filed "MyField" : {
"place" : "Right:0"
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I create a ContentPart with altering ContentFields to it. And there is a customize ContentPart template for the ContentPart's properties displaying. Then I want to invoke the ContentField's template from my customize ContentPart template. How to do it?
Beta Was this translation helpful? Give feedback.
All reactions