You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. We have recently converted our project to Craft5. The project has been around since early Craft3. It relied heavily on nested Matrix/Supertable combinations to create flexible content structures. Now, post conversion, we have several instances of unnecessary nested levels that I am wishing we could flatten. I am wondering if there is a (somewhat simple) way to accomplish this, or if the best practice is just to live with the unnecessary complexity, as it is not really a problem outside of being overly complex.
My thinking is that an ideal scenario would be the ability to move entries (in bulk) between matrix fields that share the same entry type, much like one can now do for entries between sections. If this were possible, it would be fairly easy for us to set up new matrix fields where we want them to be and just move all the entries over.
Is this possible? Or is there some other method to accomplish this? Or, as I suggested previously, should I just live with it as is?
An example structure for what I'm talking about would be something like this:
— EntryTypeA
— — MatrixFieldB / EntryTypeB (former static Supertable that only contained one block and one matrix field)
— — — MatrixFieldC (former matrix field containing several blocks, now several entry types, as below)
— — — — EntryTypeC
— — — — — Entries we want to keep
— — — — EntryTypeD
— — — — — Entries we want to keep
— — — — EntryTypeE
— — — — — Entries we want to keep
— — — — EntryTypeF
— — — — — Entries we want to keep
And we'd be looking to make it like this (essentially eliminating the no longer necessary MatrixFieldB and EntryTypeB):
— EntryTypeA
— — MatrixFieldC (former matrix field containing several blocks, now several entry types, as below)
— — — EntryTypeC
— — — — Entries we want to keep
— — — EntryTypeD
— — — — Entries we want to keep
— — — EntryTypeE
— — — — Entries we want to keep
— — — EntryTypeF
— — — — Entries we want to keep
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. We have recently converted our project to Craft5. The project has been around since early Craft3. It relied heavily on nested Matrix/Supertable combinations to create flexible content structures. Now, post conversion, we have several instances of unnecessary nested levels that I am wishing we could flatten. I am wondering if there is a (somewhat simple) way to accomplish this, or if the best practice is just to live with the unnecessary complexity, as it is not really a problem outside of being overly complex.
My thinking is that an ideal scenario would be the ability to move entries (in bulk) between matrix fields that share the same entry type, much like one can now do for entries between sections. If this were possible, it would be fairly easy for us to set up new matrix fields where we want them to be and just move all the entries over.
Is this possible? Or is there some other method to accomplish this? Or, as I suggested previously, should I just live with it as is?
An example structure for what I'm talking about would be something like this:
— EntryTypeA
— — MatrixFieldB / EntryTypeB (former static Supertable that only contained one block and one matrix field)
— — — MatrixFieldC (former matrix field containing several blocks, now several entry types, as below)
— — — — EntryTypeC
— — — — — Entries we want to keep
— — — — EntryTypeD
— — — — — Entries we want to keep
— — — — EntryTypeE
— — — — — Entries we want to keep
— — — — EntryTypeF
— — — — — Entries we want to keep
And we'd be looking to make it like this (essentially eliminating the no longer necessary MatrixFieldB and EntryTypeB):
— EntryTypeA
— — MatrixFieldC (former matrix field containing several blocks, now several entry types, as below)
— — — EntryTypeC
— — — — Entries we want to keep
— — — EntryTypeD
— — — — Entries we want to keep
— — — EntryTypeE
— — — — Entries we want to keep
— — — EntryTypeF
— — — — Entries we want to keep
Beta Was this translation helpful? Give feedback.
All reactions