Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christiaan Verloop 2 posts 73 karma points
    May 10, 2021 @ 05:15
    Christiaan Verloop
    0

    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.

    No Welcome text

    Welcome text

  • Lindow 20 posts 111 karma points hq
    May 10, 2021 @ 05:21
    Lindow
    100

    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

  • Christiaan Verloop 2 posts 73 karma points
    May 10, 2021 @ 05:32
    Christiaan Verloop
    1

    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.

  • Lindow 20 posts 111 karma points hq
    May 10, 2021 @ 06:22
    Lindow
    0

    Good to hear that 😄

Please Sign in or register to post replies

Write your reply to:

Draft