5

Has anyone ever tried to create a matrix field in a matrix field? (nested matrix)

I have a workshop schedule I'm building and thought this would be the "best" way to create it for multiple days, (initial matrix), and events throughout the day, (nested matrix). I know there isn't a default option for this as far as fieldtypes in a matrix field, but I was curious as to whether or not the universe would implode if attempted.

3 Answers 3

10

You might want to give Nolan a try - it sounds like exactly what you're after.

Nolan enables a very simple matrix style field within a Pixel & Tonic Matrix field

Nolan screenshot

5
  • I was just going to suggest Nolan.
    – CreateSean
    Commented Dec 3, 2012 at 17:42
  • Dom - That is exactly what I'm after. Unfortunately, I have to do this in EE1.
    – W3bGuy
    Commented Dec 3, 2012 at 17:44
  • I ended up not being able to use Nolan due to version conflicts. Nolan would have done what I needed though so I awarded the answer here. See below for what I ended up doing for this instance.
    – W3bGuy
    Commented Dec 3, 2012 at 17:51
  • 1
    By all means accept your own answer if that's the approach you've opted for. For future reference it's worth flagging any questions that are specific to EE1, as people are likely to assume you're referring to EE2 otherwise.
    – Dom Stubbs
    Commented Dec 3, 2012 at 17:55
  • Thanks Dom... I seem to inherit a lot of legacy sites. I wish I could update them all... I guess it's always a WIP. ;)
    – W3bGuy
    Commented Dec 5, 2012 at 19:52
2

Haven't attempted this, what I have done though is make a Channel for the "events", and then a multi-select Playa-field in the days-Matrix. It's not ideal, I understand, but maybe this would work for you?

1
  • Yeah. This is what I do on events now. This customer wanted a way to maintain each workshop independently on a per entry basis. I had started this with categories, and multi-weblog entries. I may be stuck with that unless I decide to write a custom plug-in which I don't think I have time for. ;)
    – W3bGuy
    Commented Dec 3, 2012 at 17:13
2

Ok,

If this were in EE2, Dom's usage of Nolan would be ideal for what I have. If anyone else runs into an older legacy site that needs the same, here is what I ended up with.

I built a matrix fieldtype with the sub-fields needed for the workshops. I installed SC Category Select and created a category group called workshop days which held nothing more than 'Day 1', 'Day 2', etc.

One of the fields in the matrix field is a SC Category Select field which allows them to select which day the information goes with.

Again, this may not be ideal, but it meets the clients needs of maintaining the workshops on a per entry basis.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.