Replies: 8 comments 6 replies
-
Version 2.1.7 is same issue,too. |
Beta Was this translation helpful? Give feedback.
-
Has anyone encountered the same issue as me, please? |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce |
Beta Was this translation helpful? Give feedback.
-
Hi @hishamco , Steps to reproduce:
![]()
![]()
|
Beta Was this translation helpful? Give feedback.
-
The project code : |
Beta Was this translation helpful? Give feedback.
-
Login Account is Admin , password is Passw0rd! |
Beta Was this translation helpful? Give feedback.
-
Try this in your template <img src="{{ Model.ContentItem.Content.BackgroundPart.BackgroundImage.Paths[0] | asset_url}}" /> It should work |
Beta Was this translation helpful? Give feedback.
-
{
"MediaField_Edit": [
{
"place": "Parts#Background:16",
"differentiator": "BackgroundPart-BackgroundImage",
"contentPart": [ "BackgroundPart" ]
}
],
"MediaField": [
{
"contentPart": [ "BackgroundPart" ],
"place": "Background"
}
]
} The above is your
I will return it back to issues if it's a real bug |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
The placement ContentPart rule don't work.
There is a MediaField in BackgroundPart.
placement rule:
But Model.Background is null in front-end, Actually, it should be Media Field Shape.
{{ Model.Background | shape_render }} render nothing.
Orchard Core version
Orchard Core version is 3.0.0-preview-18679
Beta Was this translation helpful? Give feedback.
All reactions