Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, I've created Layout and the data types for it then I've created the child page and do not show me the data types for the layout. Layout:
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage<ContentModels.Layaut2> @using ContentModels = Umbraco.Web.PublishedContentModels; @{ Layout = null; } @Umbraco.Field("MyApp2") <h1>Hello</h1> @RenderBody()
does not display MyApp2
Hi Niker
First of all welcome to Our :)
By default when you add a name to a field in Umbraco CMS the alias will start wil lowercase so in your case the alias will be
@Umbraco.Field("myApp2")
Can you give this a go and see if this works for you
Also make sure at the page that you are viewing in the browser has this field on the page in the backoffice
Hope this helps,
/Dennis
Unfortunately it does not work.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Does not display data templates in the layout
Hello, I've created Layout and the data types for it then I've created the child page and do not show me the data types for the layout. Layout:
does not display MyApp2
Hi Niker
First of all welcome to Our :)
By default when you add a name to a field in Umbraco CMS the alias will start wil lowercase so in your case the alias will be
@Umbraco.Field("myApp2")
Can you give this a go and see if this works for you
Also make sure at the page that you are viewing in the browser has this field on the page in the backoffice
Hope this helps,
/Dennis
Unfortunately it does not work.
is working on a reply...