Copied to clipboard

Flag this post as spam?

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


  • Maico Santos 3 posts 22 karma points
    Apr 12, 2021 @ 18:00
    Maico Santos
    0

    Flexible way to use components/composition in the pages?

    Hello. I am a beginner with Umbraco and I need some directions here:

    Is there a way to build some components or compositions and freely use them in the pages with some easy configuration in the code?

    What I mean is: Let's pretend I have the following setup in the backoffice:

    enter image description here

    With this, I was expecting my compositions to be flexible enough so the user could, for example, edit the "Home page" adding 1 or more ''Card type content", so order and fill them there as his will. In the code: I was expecting a class representing "Card type content" and "Home page" would have a List of it.

    That way the code would be simply taking care of any "Card type content" that shows up and put them in the order selected by the user.

    Is there a way to do this or something similar? Thanks.

  • Søren Kottal 702 posts 4497 karma points MVP 5x c-trib
    Apr 12, 2021 @ 18:52
    Søren Kottal
    0

    Hi Maico

    You can use Nested Content or Block List for this.

  • Maico Santos 3 posts 22 karma points
    Apr 12, 2021 @ 20:44
    Maico Santos
    0

    Yes! That's exactly what I need, so simple that I feel stupid. But its good to know Umbraco handles that. Thank you very much

Please Sign in or register to post replies

Write your reply to:

Draft