Beta 4: A Column as a Component?

Hi!

Sorry if I missed something somewhere.

I see that a column can be turned into a Component.

A Column however, can be added only to Rows, and there doesn’t seem to be a way to add anything to a Row other than a brand new column. Also, saved column components are not listed.

Some context:

I have a Row that loops Columns. This looper is used on various pages and I have to be able to change the taxonomy that the looper provider is based on, per each page.

From what I understand, I cannot save the Row as a component, because I would’t be able to control its looper provider. Instead, I wanted to have the Column as a component to control its design globally.

Thanks!

@Misho, thanks for writing in…you bring up a good point that we’re going to need to look into on this. I hadn’t personally thought of utilizing Columns / Cells as Components themselves.

As of right now, I have noted this down for us to look into and see what might be possible. It will likely be one of two scenarios:

  1. We discover that it is possible to utilize Columns / Cells as Components with no side-effects, and implement some type of mechanic to add these to their respective parent Elements. If this is the case, it will likely be some type of CMD + click mechanic on the (+) of the Row / Grid or on the “Add Element” insertion marker inside these respective Elements.
  2. We discover that it is not possible to utilize Columns / Cells in this manner due to some constraints. In that case, we will simply need to remove the export feature on these Elements and you would have to use it on the Row / Grid directly. In your case, you would likely still be able to setup a situation like you are describing, you would just have to put your Provider on a Row and then build out your Component with a Div or something, and place that inside the Columns in the Row to get it working.

Cheers!

2 Likes

hi there,
does this work in 6.0.2?
i tried to make a column => added parameters => export component => it does not show in elements>components

thanbks in advance
harry

Are you inside a “Row” element when you do this? I think right now you’ll have to “CMD” click in the outline on a row. Let me know if you have an issue with this I’ll check your site. Like others have brought up, the element library list not from the popup is a little confusing and I plan on cleaning that up.

yes i am inside a row element and tried to add my column i created with components.
i will try it l8er :slight_smile:
thanks for your help
harry

1 Like

sorry fo the late answer.
i still have problems with that.
i did a component export on an column.
now i tried to import that component in a row… i cant find it…
any advice?
thanks ina dvance

Chances are it’s there, but you can only see it in the element list of a row element. So hold “CTRL” and click the “+” button next to the row and you should see your column component in there. Let me know if this helps and have a great day!

1 Like

hi Charlie,
that worked!!! Thank you so much…
are there future plans to make that clearer?
thank you so much

1 Like

That’s a good question. Seeing them in the element library, but only being able to drag them into rows would be nice. I always thought the element library should popup by default in the inspector, but maybe we just create that as preference so you don’t need to hold down “CTRL”. Or if you have column components at all the popup opens by default. I’ll have to think more on it, glad I was able to help.

1 Like