Elliot Lombardo
Posts: 0
Joined: Thu Jan 29, 2015 7:16 pm

Nesting custom components inside custom components (or templates inside templates?)

Is it possible to use a custom component inside another one?

For my particular instance, I'm trying to create two different tables of contents in a sidebar (they are two separate custom components now). I want to place these both inside one custom component but I want the two original components to remain editable instead of breaking them apart. Is this possible?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Nesting custom components inside custom components (or templates inside templates?)

Hello,

To nest custom components inside other component you will need to break this other component apart.
Once it's broken apart, you still can see it in custom components list.
To edit them you first break them apart, edit and save again.

Elliot Lombardo
Posts: 0
Joined: Thu Jan 29, 2015 7:16 pm

Nesting custom components inside custom components (or templates inside templates?)

Yes but this disconnects it from the changes made on the original component. I'm trying to place 2 custom components inside of 1, then when I go to edit either of the 2 original components, they change on the new custom component.

Elliot Lombardo
Posts: 0
Joined: Thu Jan 29, 2015 7:16 pm

Nesting custom components inside custom components (or templates inside templates?)

I suppose my concern is that I create 100 templates (all different based off the page content). If I want to then go back and add a certain feature to all of them (such as changing the header title, or showing or hiding the footer) I can't do it with one edit, I would have to then go individually apply it to all 100 templates.

Elliot Lombardo
Posts: 0
Joined: Thu Jan 29, 2015 7:16 pm

Nesting custom components inside custom components (or templates inside templates?)

Okay great, I figured it out. My logic on how the new component was built was completely wrong. Thank you!

Return to “Issues”