I’ve tried the new parameter for components. So i set up a button with parameters:
And it seems to work on the component side:
But there are no parameters if i use this component on a page for example:
I’ve tried the new parameter for components. So i set up a button with parameters:
And it seems to work on the component side:
But there are no parameters if i use this component on a page for example:
@Regnalf, thanks for writing in! I think I’m tracking everything here, and this might just be something I need to clear up in the Docs regarding how Parameters work along with Components.
As mentioned in this portion of the Component Builder Overview article, the “Component” Element is really more of a fallback for the old way that Global Blocks worked by outputting all of the markup within a “Component Set.” You don’t have access to the Parameters on your “Test Component Button” because you’re not pulling through the actual button itself that way, you’re just grabbing all the markup and plopping it on the page the way Global Blocks used to work.
If you want to add Parameters to a true Component and leverage those on each instance, you will need to follow the instructions under the “Your First Component Set” portion of that article and follow the exporting process, and then drag in your actual Component instance from the Element Library.
Let me know if that helps to clear things up!
Yup, that worked. However, I must admit that even for a more experienced pro user it is a bit confusing that there are virtually components and export components!
My first intention was to use the default component element, but I was probably a bit too hasty and excited instead of reading the user manual.
There are already so many projects where I could use it, but I will have to be patient too.
@Regnalf, glad you’re sorted there…I agree there might be a naming convention we could use on the Element there to be more clear. That is really only there for backwards compatibility with Global Blocks and to pull through all markup with none of the “goodness” Components have to offer.
The great thing with the Component Sets (as mentioned in the Docs) is you can use them to build out whole patterns. So you might have a Set for “Buttons” and you design up all your site’s button styles in one place and then drag them in as you need them. You could do the same for “Typography,” “Structure,” et cetera…it’s really up to how you want to use them.