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,
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!
I think this is what you're after?
https://our.umbraco.org/projects/backoffice-extensions/archetype/
Thanks a lot!
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.
And thank you too!
is working on a reply...