wpmetabox / mb-elementor-integrator Goto Github PK
View Code? Open in Web Editor NEWIntegrates Meta Box and Elementor Page Builder
Home Page: https://metabox.io/plugins/mb-elementor-integrator/
Integrates Meta Box and Elementor Page Builder
Home Page: https://metabox.io/plugins/mb-elementor-integrator/
Hi,
I'm using a container with a background image filled with the image advanced field. The last update broke this.
A container is NULL
here:
The default function doesn't work for the background image:
mb-elementor-integrator/src/Traits/Fields/Image.php
Lines 54 to 56 in 374cd46
This fixes my problem:
#24
Thanks for this extension, I already like it a lot!
I would like to display the value of a post field (one or multiple posts) as a link. Ideally selecting both the post title and permalink should be possible, so a link to the selected post can be displayed.
Hi
Further to the fix for the Error with count() function c0cec1a I would propose changing line 257 in the GroupField.php file to check for a null value in $valueField prior to the other checks. My proposal is:
if ( ( null !== $valueField ) || ( is_array( $valueField ) && 0 == count( $valueField ) ) ) {
return true;
}
Without it, when I have a null value in $valueField, I'm seeing a fatal error as follows:
Fatal error: Uncaught Error: array_column(): Argument #1 ($array) must be of type array, null given
in /www/site_953/public/wp-content/plugins/mb-elementor-integrator/src/GroupField.php on line 270
Hope this helps.
Hi,
I have an image advanced field limited to one image. But when selecting the image field in Elementor it's not showing up.
Settings:
array(
'id' => 'header-image',
'type' => 'image_advanced',
'name' => 'image',
'max_file_uploads' => '1',
'class' => 'image-header-upload',
),
var_dump output of $images = $this->handle_get_value();
Array (
[20161] => Array (
[width] => 150
[height] => 150
[file] => 2022/07/banner.jpg
....
[ID] => 20161
[name] => banner-scaled-e1650976727162.jpg
....
)
)
According to the output above $images['ID'] won't work:
mb-elementor-integrator/src/Traits/Fields/Image.php
Lines 21 to 27 in dd82881
It works when replaced with:
// Single image.
if ( count( $images) === 1 ) {
$images = $images[array_key_first($images)];
return [
'id' => $images['ID'],
'url' => $images['full_url'],
];
}
I am getting this message when trying to connect to Wordpress site: https://barbaraschroeer.com/wp-login
Any help?
I tried deactivating the plugins but it didnt help.
Hi, I've got the following error in PHP logs when accessing a URL setting value from Elementor.
Warning: Undefined array key "mime_type" in /var/www/html/wp-content/plugins/mb-elementor-integrator/src/Traits/Settings.php on line 53
Looking up the code, I see that there is no check that the key $field['mime_type'] exists, and not existing is a valid condition. In my case it's a url type.
Message: Hi!
I just updated Meta Box - Elementor Integrator and Meta Box AIO to the latest version. After this update I get a 502 Bad Gateway on the frontend.
If I deactivate Meta Box - Elementor Integrator, the site start working again.
I have Elementor Pro installed with the version: 3.7.2
I have done following:
If i install and try to use the plugin with Elementor i get the following Error:
Fatal error: Uncaught Error: Call to undefined function MBEI\Traits\rwmb_get_registry() in /Users/daniel/src/wordpress-codeanker/wp-content/plugins/mb-elementor-integrator/src/Traits/Base.php:32 Stack trace: #0 /Users/daniel/src/wordpress-codeanker/wp-content/plugins/mb-elementor-integrator/src/Traits/Post.php(12): MBEI\Tags\Post\Text->get_fields_by_object_type('post') #1 /Users/daniel/src/wordpress-codeanker/wp-content/plugins/mb-elementor-integrator/src/Traits/Base.php(27): MBEI\Tags\Post\Text->get_option_groups() #2 /Users/daniel/src/wordpress-codeanker/wp-content/plugins/elementor/core/dynamic-tags/base-tag.php(173): MBEI\Tags\Post\Text->_register_controls() #3 /Users/daniel/src/wordpress-codeanker/wp-content/plugins/elementor/includes/base/controls-stack.php(488): Elementor\Core\DynamicTags\Base_Tag->init_controls() #4 /Users/daniel/src/wordpress-codeanker/wp-content/plugins/elementor/includes/base/controls-stack.php(281): Elementor\Controls_Stack->get_stack() #5 /Users/daniel/src/wordpress-codeanker/wp-content/plugi in /Users/daniel/src/wordpress-codeanker/wp-content/plugins/mb-elementor-integrator/src/Traits/Base.php on line 32
Hello, how are you? Just a couple of questions because ...
First of all, is it possible to create an elementor template for a group field?
An if yes, is it possible to use this template inside another Elementor template like a post loop or archive template etc?
I know this is possible with Jetengine repeaters and ACF repeaters combined with various elementor plugins but i cannot find any info about meta box...
Thank you in advance!
Regards
The Elementor widget Star Rating looks for a number for the rating
$this->add_control(
'rating',
[
'label' => __( 'Rating', 'elementor' ),
'type' => Controls_Manager::NUMBER,
'min' => 0,
'max' => 10,
'step' => 0.1,
'default' => 5,
'dynamic' => [
'active' => true,
],
]
);
When you click the dynamic icon for the rating the Meta Box select option does not show.
Here is the definition of the number field in MB Custom FIelds
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.