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
Right so im not sure how to get the nested content editor working on my site.
I have added a doctype of Content item and now im trying to add the Nested Content Property to my Home page. But when I go to set up my Nested Content Editor there are no element tags groups or templates to choose from?
Can any one help is there something i am missing?
So this is pretty easy.
So a nested content datatype allows you to relate other content items to the document type you are working with. I use this a lot in every project.
So for example of your homepage banner is a carousel you could add each carousel item as nested content.
To achieve this you would first...
Create a doc type for your carousel item.
This might contain properties like Heading, Main Text, Banner Image
Make sure this document type is marked as a 'Is an Element type'.
This can be done in the document type permissions.
This allows this document type to be been by the nested content data type
Now add a nested content datatype to your homepage.
Call it something like Carousel Items
Configure the nested content section selecting the new carousel item doc type your created.
Now you can go back to the content section, go to the homepage, and start adding carousel items to the homepage.
You then can render these is razor like any other datatype value.
Hope this helps.
If not there is more information that can be found here.
Thanks Dave, I'm all sorted now :)
I knew id missed something somewhere
For anyone having any issues with nested content i have wrote a step by step blog on how to get nested content working and displayed on your web page
Here is the link: https://www.umbrajobs.com/blog/posts/2020/july/working-with-nested-content-in-umbraco-8/
Hope this helps people out.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted