Copied to clipboard

Flag this post as spam?

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


  • Damon 217 posts 288 karma points
    Jul 15, 2015 @ 11:49
    Damon
    0

    What is a good way to hold multiple blocks of same template content?

    I want to add multiple block of content to a page. Each block has 3 textfields.

    At first I created them as a macro, which seems a good idea. Then , so the editor can add multiples, I added a macro container which stores them.

    The problem with this approach is that when I came to manipulating the items in the container, I discovered that the container only returns the generated HTML a one block, it does not split the item up into a list which is what I could do with. I want to manipulate the ordering and the number of items appearing on the page.

    What is a good way to implement this? The macro container seemed a good solution at first because it looks neat and each block is easy for an editor to open and edit, but it is or seems to limited for what I need,

    Thanks for any input!

  • Devin 87 posts 251 karma points
    Jul 15, 2015 @ 14:40
  • Damon 217 posts 288 karma points
    Jul 15, 2015 @ 16:00
    Damon
    0

    Thanks a lot!

  • Anders Bjerner 487 posts 2989 karma points MVP 8x admin c-trib
    Jul 15, 2015 @ 14:53
    Anders Bjerner
    0

    Besides Archetype (which is really great), you should also look into https://our.umbraco.org/projects/backoffice-extensions/nested-content/

    The two packages accomplish somewhat the same, but in different ways.

  • Damon 217 posts 288 karma points
    Jul 15, 2015 @ 16:00
    Damon
    0

    And thank you too!

Please Sign in or register to post replies

Write your reply to:

Draft