I’m just starting out with using Content Blocks and need to have a tabbed content field. I found Christian Seel’s code for creating this but it’s not clear to me what goes where.
The Code: https://gist.github.com/christianseel/80a9249920518954fda0
Here’s what I’ve done so far:
Created a snippet named generateTabs with the php code and saved it in Snippets > ContentBlocks
Created a chunk named tabNavigationItem and put that in Chunks
Now I’m at a loss as to how to build the rest of it. Am I creating Fields? If so, what do I put where? Layouts? Nested Columns? Any help greatly appreciated.
Never mind. I ended up using this to solve the problem and it’s working great.