-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
await DisplayAsync(Model.Content.AbstractContent) render nothing in summary view #17005
Comments
Model.Content.AbstractContent is null in Summary View but is not null in details view like Content-Article.cshtml |
How I would understand that happens is:
So it looks like this shape is not created for the Summary display mode. can you describe what your Article content type is made of, and how you create the summary shapes of your articles, or where you are trying to "see" them if the view already exists? (the admin uses SummaryAdmin for instance). |
Place it using placement for Summary view |
@ns8482e I almost believe you like placement ;) |
Hi @sebastienros , I think that since "DisplayAsync(Model.Content.AbstractContent)" can be displayed in details view , it should be displayed in summary view. note: I use oc 1.8.4 |
Hi @sebastienros , |
In details view Content-Article.cshtml, "@await DisplayAsync(Model.Content.AbstractContent)" can render correctly but in summary view Content-Article.Summary.cshtml "@await DisplayAsync(Model.Content.AbstractContent)" render nothing.
Note: Model.Content.AbstractContent is FlowPart
The text was updated successfully, but these errors were encountered: