Plugin Conflict
-
Hi there,
We have JetMenu by Crocoblock installed and every time we enable it, the “Dynamic Form” part of the Edit Form page stops showing up. I think it is a plugin conflict.
-
Hello,
Thanks for the feedback!
I don’t own Crocoblock JetMenu, so I can’t really test it. I’m not sure what this plugin does, but the ACFE Dynamic Forms is a just a submenu of the native ACF “Custom Fields” menu, so I’m not really sure how it could disappear? Do others “Settings” or “Options Pages” submenus also disappear under “Custom Fields”?
Can you record a video or post a screenshot of the issue? You can also try to disable all other plugins at the exception of ACF Pro + ACF Extended + JetMenu just to make sure there is no conflict is an another third party plugin.
Thanks in advance.
Regards.
Hi,
I’ve uploaded a couple of screenshots to https://imgur.com/a/KnAFzt7 so you can take a look at what I mean.
I have disabled all the other plugins and there wasn’t any other conflict.
Thank you!
Hello,
Thanks for the details!
Okay it’s not the menu that doesn’t show up, but the actual Field Groups in the
acfe-formPost Type. It is really strange, because that Field Group is displayed using the nativeacf_add_local_field_group()function.You can try to add the following code in your theme
functions.phpfile in order to check if JetMenu breaks the ACF Local Field Groups feature:add_action('acf/init', 'my_acf_init'); function my_acf_init(){ acf_add_local_field_group(array( 'key' => 'group_test', 'title' => 'Group Test', 'fields' => array( array( 'key' => 'field_test_text', 'label' => 'Test Text', 'name' => 'test_text', 'type' => 'text', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array( 'width' => '', 'class' => '', 'id' => '', ), 'default_value' => '', 'placeholder' => '', 'prepend' => '', 'append' => '', 'maxlength' => '', ), ), 'location' => array( array( array( 'param' => 'post_type', 'operator' => '==', 'value' => 'page', ), ), ), 'menu_order' => 0, 'position' => 'normal', 'style' => 'default', 'label_placement' => 'left', 'instruction_placement' => 'label', 'hide_on_screen' => '', 'active' => true, 'description' => '', 'show_in_rest' => 0, )); }That code should display a “Group Test” Field Group with a “Test Text” field on all your “Pages” in the admin. If the Field Group doesn’t show up on your Pages when JetMenu is enabled, then there is definitely something wrong with that plugin.
Let me know if that worked.
Regards.
Thanks for the update on this. I added the code and the Field Group does show up on pages when JetMenu is enabled… everything else within ACF seems to be working properly, it is literally just the form stuff that disappears.
Hello,
Hmm… the Options Pages module use the exact same method to display its Field Group, so it’s really strange. Have you tested it?
Unfortunately the JetMenu by Crocoblock is a premium plugin so I can’t test it. I don’t really know what I can recommend. Maybe you could try to contact their support and let them know?
Regards.
Hello,
Okay a friend borrowed me the plugin and it looks it loads the Elementor Dynamic Tags controllers on every admin pages. All ACF Extended modules (Forms, Options Pages, Dynamic Post Types etc…) have their Field Groups hidden due to this logic.
I’ll add a fix in the next patch, in the meantime you can apply it by yourself by following these instruction:
in the file
/acf-extended/includes/compatibility.phpline:602add the following code:if(acf_maybe_get_GET('action') !== 'elementor'){ return; }The final code should look like:
function elementor(){ if(acf_maybe_get_GET('action') !== 'elementor'){ return; } add_filter('acf/load_field_groups', function($field_groups){ // ...Hope it helps!
Have a nice day!
Regards.
Ah, thank you so much! I spoke to the plugin developer but you managed to fix it first.
Greatly appreciated.
You’re welcome!
If you enjoy this plugin and its support, feel free to submit a review. It always helps and it’s much appreciated π
Have a nice day!
Regards.
The topic ‘Plugin Conflict’ is closed to new replies.