-
AuthorPosts
-
August 14, 2022 at 2:12 am #1361628
I am trying to follow your document to create a custom element button – https://kriesi.at/documentation/enfold/custom-element-templates/
However, it is not working as expected. I created my button in the custom element section but when I drag the button on my page I do not see a red closed padlock left of the “Delete” icon as mentioned in your document. (so this means it is not a custom element although I dragged it from the custom element tab)
What am I doing wrong? Please assist
see login info below
Thanks in advance
August 17, 2022 at 1:01 pm #1361932Hey navindesigns,
Thank you for your patience, we have been looking into this, the padlock icon may have been removed we are double checking and if true we will update the documentation.
Sorry for the confusion.Best regards,
MikeAugust 17, 2022 at 1:33 pm #1361939Hi Navin,
Thanks for contacting us!
Sky blue background color is the indicator that the elements is a CET – https://imgur.com/a/pekJgN6
We have updated our docs. Sorry for the confusion again!
Regards,
YigitAugust 18, 2022 at 5:02 am #1362028Thank you
I am still trying to understand how this works
If I change a button font size in the custom elements , all the buttons on my page that shares that same custom element should update with the new font size as well right?
It does not seem to be working like that on my site
August 19, 2022 at 4:17 am #1362144Hi,
If I change a button font size in the custom elements , all the buttons on my page
Please note that only locked options or values will be shared across all CETs in the site. If you created a CET from a Button element for example and locked the value of the Button Label field, all CET instances in the site will share this label or value. So when you edit the Button Label of the CET Button again, all CET instances will inherit the updated label value.
Scenario 1:
1.) Create a CET from a Button element.
2.) Lock the Button Label field with the value “Click me!”.
3.) Add instances of CET Button in 3 different pages or different areas in a single page.
4.) All buttons will have the label “Click me!” by default.
5.) To edit the CET again, go to the “Custom Elements” tab and click the “Edit Custom Elements” button.
6.) Edit the CET Button again by clicking the pencil icon.
7.) Change the label to “Do not click me!”, save the changes.
8.) All instances of the CET Button will be updated and will now have the label “Do not click me!”.Best regards,
IsmaelAugust 22, 2022 at 1:31 am #1362373I understand what you are saying but that is not currently happening for me.
It I change the label in the CTE button element, it does not the buttons on the page below.
August 23, 2022 at 1:35 am #1362439Hi,
Are you editing the CET button from the Custom Elements tab? If you are editing an instance of the CET, other instances of that CET will not be affected. And again, only locked options will be inherited by the CET instances.
We tried logging in to the site above but it is no longer available. Did you move the site?
Thank you for your patience.
Best regards,
IsmaelAugust 23, 2022 at 1:42 am #1362441sorry yes, the site url changed, see below new url
August 23, 2022 at 4:34 am #1362455Hi,
Thank you for following up.
We didn’t find multiple CET instances in the page from the same template, so we added three Primary Button Small in the page. We edited the CET again, locked the Button Label and changed its value to Primary Button Smalls Edited. All elements or buttons from the same CET now have the label Primary Button Smalls Edited.
Try to edit the Primary Button Small CET again from the Custom Elements tab and adjust the locked Button Label field value. You will see that all instances of that CET will inherit the updated value.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.