I just followed the tutorial which taught me how to add properties to document types. I added the Welcome text textarea. Next I put text in that field on the home page, but when I preview it, the text does not show up.
I can change the text in existing textareas, but new ones don't show.
Ah I see now, at the end of the document types tutorial it said that the new content won't be visible yet, I had missed that. I added the section to the cshtml file now and it works.
Just followed tutorial, can't add content
I just followed the tutorial which taught me how to add properties to document types. I added the Welcome text textarea. Next I put text in that field on the home page, but when I preview it, the text does not show up.
I can change the text in existing textareas, but new ones don't show.
Hi Christiaan.
Have you referenced the newly added properties in the content template?
You should have several cshtml files and one of them is responsible for the home page.
Looks like this tutorial will help you :)
Best,
Darek
Ah I see now, at the end of the document types tutorial it said that the new content won't be visible yet, I had missed that. I added the section to the cshtml file now and it works.
Good to hear that 😄
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.