Link is an array
Support › MB Elementor Integrator › Link is an arrayResolved
- This topic has 9 replies, 2 voices, and was last updated 2 years, 7 months ago by
Yasmine.
-
AuthorPosts
-
August 18, 2022 at 6:43 PM #37566
Yasmine
ParticipantHi Long,
I am using the meta box group skin. I have a link within one of my sub-fields, however when i output this in elementor (choosing my meta box field within the link widget), it is outputting as an array. I will try to fix with a shortcode, but just so you know.
Many thanks,
YasmineAugust 19, 2022 at 11:28 AM #37579Long Nguyen
ModeratorHi Yasmine,
Can you please share a part of the code of a group field with the link subfield? I will check it on my end.
August 21, 2022 at 11:47 PM #37956Yasmine
ParticipantOf course:
'name' => __( 'Add Resources', 'your-text-domain' ), 'id' => $prefix . 'resources_group', 'type' => 'group', 'clone' => true, 'sort_clone' => true, 'max_clone' => 3, 'fields' => [ [ 'name' => __( 'Resource Name', 'your-text-domain' ), 'id' => $prefix . 'name_of_resource', 'type' => 'text', ], [ 'name' => __( 'Resource Details', 'your-text-domain' ), 'id' => $prefix . 'resource_details', 'type' => 'textarea', 'tooltip' => [ 'icon' => '', 'position' => 'right', ], ], [ 'name' => __( 'Resource Link', 'your-text-domain' ), 'id' => $prefix . 'resource_link', 'type' => 'url', 'tooltip' => [ 'icon' => '', 'position' => 'right', ], ],
August 22, 2022 at 10:48 PM #37973Long Nguyen
ModeratorHi,
I do not see that issue when outputting the subfield URL value in a cloneable group. After creating a group skin in Templates > Theme Builder, you need to edit the post with Elementor and insert the widget MB Group to select the group and skin to display subfield value on the frontend.
Here is the demo screen record https://monosnap.com/file/b9qaHxQ5LknR99Os0DJqjuPaWNS7FPAugust 31, 2022 at 5:30 PM #38142Yasmine
ParticipantHi Long,
I only have the issue when I use the URL. For example, in a button that then links to that URL. I am also able to output as text! But if I add the URL as a link then when that button is pressed it outputs as "array"
September 2, 2022 at 10:49 PM #38161Long Nguyen
ModeratorHi,
Please share your site credentials via the contact form again https://metabox.io/contact/, I will help you to investigate the issue.
September 13, 2022 at 10:55 PM #38293Long Nguyen
ModeratorHi,
It looks like the button widget of Elementor does not work with the subfield value in a group. I will inform the development team to consider supporting this case in future updates.
Thanks for your patience.
September 14, 2022 at 1:46 PM #38307Yasmine
ParticipantHi Long,
Also if you add a link to a heading, the same problem occurs (so not just the button).
Thank you for your help.
Kind regards,
YasmineSeptember 20, 2022 at 10:49 AM #38359Long Nguyen
ModeratorHi Yasmine,
Please update this extension to the new version 2.1.3 to resolve this issue. Let me know how it goes.
September 23, 2022 at 6:09 PM #38402Yasmine
ParticipantHi Long,
I checked this and now works perfectly! Thank you so much for your help!
Yasmine
-
AuthorPosts
- You must be logged in to reply to this topic.