<p>This really is a case for nested Matrix fields. It’s something we definitely plan on adding at some point, but that won’t help you here.</p>

<p>Looks like you’re using nested Structure entries to accomplish it right now – that’s probably your best bet for the time being.</p>

CC BY-SA 3.0
2014-10-22T01:58:28.363Z
Yeah it implements fine and is easy to visualise for the customer but the additional fields are a little confusing for them.
Ryan
CC BY-SA 3.0
2014-10-20T23:58:41.110Z
2014-10-20T23:58:41.110Z
Brandon Kelly
<p>As Brandon mentioned in 2014, this is a good case for <em>Matrix-within-a-Matrix</em>. Until that functionality gets added into core, the following two plugins are your best bet:</p>

<ol>
<li><p><strong>Neo plugin</strong><br>
<a href="https://github.com/benjamminf/craft-neo" rel="nofollow noreferrer">https://github.com/benjamminf/craft-neo</a><br>
Provides the ability to place <em>existing Craft fields</em> inside a matrix, group fields into tabs, and also nest blocks as "children" of other blocks.</p></li>
<li><p><strong>Super Table plugin</strong><br>
<a href="https://github.com/engram-design/SuperTable" rel="nofollow noreferrer">https://github.com/engram-design/SuperTable</a><br>
Allows you to create repeatable fields that include almost any field type, including matrix.</p></li>
</ol>

<p>This wiki page from the Neo repository also lists a few videos and other resources which delve into this topic:<br>
<a href="https://github.com/benjamminf/craft-neo/wiki/6.-Resources" rel="nofollow noreferrer">https://github.com/benjamminf/craft-neo/wiki/6.-Resources</a></p>

<p><em>(Taken from my previous answer at <a href="https://craftcms.stackexchange.com/a/16203/5437">https://craftcms.stackexchange.com/a/16203/5437</a>)</em></p>

CC BY-SA 3.0
2016-12-22T07:24:04.090Z
2016-12-22T07:24:04.090Z
2017-04-13T12:51:00.303Z
Simon East
<p>Maybe I just don't understand what you're trying to do, but can't you use one dedicated Matrix field for each of your tabs? All in a single entry "Agency Structure"?</p>

<p>If you want you can group fields using "CP tabs" in the field layout manager. You could do one tab for each of your tabs and an additional one for the main content / slider.</p>

CC BY-SA 3.0
2014-10-21T15:33:07.953Z
2014-10-21T15:33:07.953Z
carlcs
<p>I'd like to create some tabs on a page, and the content inside each tab. The thing is, inside one tab you will have 3 columns which would have a title/body in little sections for each column. Then in another tab you'll have a masonry list so a title and then a bunch of spans repeated. Another tab might be a body field and an image.</p>

<p>So you can see there is repeating content inside each tab and you can't have a matrix in a matrix as far as I can see.</p>

<p>How would those more experienced approach it? Am I overthinking it? I'd like something that is easy for the customer (of course!).</p>

<p>Updated with diagram and what I had in mind.</p>

<p><img src="https://docs.google.com/drawings/d/1p13Scv7sDyxg1feIef1p4yhBYHoya9VncUCp0YO3oAg/pub?w=1440&amp;h=1080"></p>

<p><img src="https://i.sstatic.net/IAI18.png" alt="Inside Craft"></p>

CC BY-SA 3.0
2014-10-18T10:03:00.420Z
Do the tabs need to be defined on a per-entry basis, or will they be consistent for each entry?
Brandon Kelly
CC BY-SA 3.0
2014-10-18T15:32:57.480Z
They will be dynamic, so on a per entry basis. It is sort of 2 problems in 1. How to do the tabs and then the column layouts I suppose. But the entry of content should be logical.
Ryan
CC BY-SA 3.0
2014-10-18T16:15:28.027Z
Do the tabs needs to be the same entry? Could you perhaps use structures, with a unique entry for each tab (with their own entry type), that extend a base 'tab' template, and grouped by the parent entry in the structure heirarchy?
Douglas McDonald
CC BY-SA 3.0
2014-10-19T02:02:57.550Z
Just added an image of the layout, and the structure idea.
Ryan
<content>
Advanced layout: Best way to create a tabbed page with variable content in each tab
# Advanced layout: Best way to create a tabbed page with variable content in each tab

(Asked by: username_0 on 2014-10-18)

I'd like to create some tabs on a page, and the content inside each tab. The thing is, inside one tab you will have 3 columns which would have a title/body in little sections for each column. Then in another tab you'll have a masonry list so a title and then a bunch of spans repeated. Another tab might be a body field and an image.

So you can see there is repeating content inside each tab and you can't have a matrix in a matrix as far as I can see.

How would those more experienced approach it? Am I overthinking it? I'd like something that is easy for the customer (of course!).

Updated with diagram and what I had in mind.

![](https://docs.google.com/drawings/d/1p13Scv7sDyxg1feIef1p4yhBYHoya9VncUCp0YO3oAg/pub?w=1440&h=1080)

![Inside Craft](https://i.sstatic.net/IAI18.png)

**Tags:** content

> **Comments:**
> **username_1**: Do the tabs need to be defined on a per-entry basis, or will they be consistent for each entry?  
> **username_0**: They will be dynamic, so on a per entry basis. It is sort of 2 problems in 1. How to do the tabs and then the column layouts I suppose. But the entry of content should be logical.  
> **username_2**: Do the tabs needs to be the same entry? Could you perhaps use structures, with a unique entry for each tab (with their own entry type), that extend a base 'tab' template, and grouped by the parent entry in the structure heirarchy?  
> **username_0**: Just added an image of the layout, and the structure idea.  

---

## 3 answers

### Answer by username_1 on 2014-10-20. Score: 2 | Accepted answer

This really is a case for nested Matrix fields. It’s something we definitely plan on adding at some point, but that won’t help you here.

Looks like you’re using nested Structure entries to accomplish it right now – that’s probably your best bet for the time being.

> **Comments:**
> **username_0**: Yeah it implements fine and is easy to visualise for the customer but the additional fields are a little confusing for them.  

---

### Answer by username_3 on 2016-12-22. Score: 1

As Brandon mentioned in 2014, this is a good case for *Matrix-within-a-Matrix*. Until that functionality gets added into core, the following two plugins are your best bet:

1. **Neo plugin**  
   <https://github.com/benjamminf/craft-neo>  
   Provides the ability to place *existing Craft fields* inside a matrix, group fields into tabs, and also nest blocks as "children" of other blocks.
2. **Super Table plugin**  
   <https://github.com/engram-design/SuperTable>  
   Allows you to create repeatable fields that include almost any field type, including matrix.

This wiki page from the Neo repository also lists a few videos and other resources which delve into this topic:  
<https://github.com/benjamminf/craft-neo/wiki/6.-Resources>

*(Taken from my previous answer at <https://craftcms.stackexchange.com/a/16203/5437>)*


---

### Answer by username_4 on 2014-10-21. Score: 0

Maybe I just don't understand what you're trying to do, but can't you use one dedicated Matrix field for each of your tabs? All in a single entry "Agency Structure"?

If you want you can group fields using "CP tabs" in the field layout manager. You could do one tab for each of your tabs and an additional one for the main content / slider.


---

