Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • I have the same problem.

    Have you been able to solve it?

    Thread Starter jabbadu

    (@jabbadu)

    Okay, i need some more input on this topic ๐Ÿ˜›

    I looked in the acf-pro-input.js andacfe-input.js file.

    Can you point me the direction?
    This one: Is there an easy way to trigger your (acfe) ‘Selection Modal’ for a specific Flexible-Content field?

    THX m8

    Thread Starter jabbadu

    (@jabbadu)

    Thanks mate! ๐Ÿ™‚

    I will have a look at those functions.

    Thread Starter jabbadu

    (@jabbadu)

    Hey!

    Yeah, i managed to solve this issue. your hint with the delay was the right way. We had some custom code wich collided. Thanks for that!

    I am sure you can help me with some other little problems. I will open separate tickets for that.

    Regards

    Thread Starter jabbadu

    (@jabbadu)

    After looking into the code for a few minutes, I came to the conclusion that it is not possible. You can’t have the same keys twice in an array.

    You have to add an individual counter ($i) to include all data in the array. This of course destroys the clean structure… If you have a better idea, I’ll look forward to it! ๐Ÿ™‚

    I have set up a Sandbox here.

    works like a charm with the new update, thx! ๐Ÿ™‚

    I need to know $this, too! ๐Ÿ™‚

    Thread Starter jabbadu

    (@jabbadu)

    hey!
    I just checked and rechecked.

    Of course it’s the correct location. See the picture: https://imgur.com/a/Q2ss8SM

    By debugging your function, you can see that $taxonomy is empty.
    (KINT Debugger on top of Screen)

    Change $taxonomy = $query->get('taxonomy'); to $taxonomy = $query->tax_query->queries[0]['taxonomy']; and it works.

    I’m not very deep into wp_query and I’m not familiar with the available methods.

    Hope that helps, maybe I am doing smth wrong, but i uses only a few plugins and none of these alters queries.

    • This reply was modified 6 years, 3 months ago by jabbadu.
    Thread Starter jabbadu

    (@jabbadu)

    you are breathtaking! ๐Ÿ™‚

    Thread Starter jabbadu

    (@jabbadu)

    Hey!

    sorry to bother you here again.. But there is still something not working with the_flexible and cloned flexible content fields.

    I have a flexible content field (like above) with multiple layouts and ACFE layouts set up. Working all fine in front- and backend!

    If i clone (clone-field, not duplicate) this field, the layouts won’t render. only empty HTML-comment <!– –> is rendered.
    (helper.php //get_flexible() -> $layout var seems to be empty).

    Any advice?

    THX for your work and support anyway ๐Ÿ™‚

    if( function_exists('acf_add_local_field_group') ):
    
    acf_add_local_field_group(array(
    	'key' => 'group_5d4a8ae8a5e2f',
    	'title' => 'Layouts',
    	'fields' => array(
    		array(
    			'key' => 'field_5d4a8aeeba9bf',
    			'label' => 'PageBuilder',
    			'name' => 'pagebuilder',
    			'type' => 'flexible_content',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'acfe_permissions' => '',
    			'acfe_flexible_stylised_button' => 1,
    			'acfe_flexible_layouts_thumbnails' => 1,
    			'acfe_flexible_layouts_templates' => 1,
    			'acfe_flexible_layouts_previews' => 1,
    			'acfe_flexible_close_button' => 1,
    			'acfe_flexible_title_edition' => 0,
    			'acfe_flexible_copy_paste' => 1,
    			'acfe_flexible_modal_edition' => 0,
    			'acfe_flexible_modal' => array(
    				'acfe_flexible_modal_enabled' => '0',
    			),
    			'acfe_flexible_layouts_state' => '',
    			'layouts' => array(
    				'layout_5d4a8af774d8f' => array(
    					'key' => 'layout_5d4a8af774d8f',
    					'name' => 'hero',
    					'label' => 'Hero',
    					'display' => 'block',
    					'sub_fields' => array(
    						array(
    							'key' => 'field_5d4a8b18ba9c0',
    							'label' => 'Image',
    							'name' => 'image',
    							'type' => 'image',
    							'instructions' => '',
    							'required' => 0,
    							'conditional_logic' => 0,
    							'wrapper' => array(
    								'width' => '',
    								'class' => '',
    								'id' => '',
    							),
    							'acfe_permissions' => '',
    							'acfe_uploader' => 'wp',
    							'acfe_thumbnail' => 0,
    							'return_format' => 'id',
    							'preview_size' => 'thumbnail',
    							'library' => 'all',
    							'min_width' => '',
    							'min_height' => '',
    							'min_size' => '',
    							'max_width' => '',
    							'max_height' => '',
    							'max_size' => '',
    							'mime_types' => '',
    						),
    						array(
    							'key' => 'field_5ddb96fd0766a',
    							'label' => 'Text',
    							'name' => 'text',
    							'type' => 'text',
    							'instructions' => '',
    							'required' => 0,
    							'conditional_logic' => 0,
    							'wrapper' => array(
    								'width' => '',
    								'class' => '',
    								'id' => '',
    							),
    							'acfe_permissions' => '',
    							'default_value' => '',
    							'placeholder' => '',
    							'prepend' => '',
    							'append' => '',
    							'maxlength' => '',
    						),
    					),
    					'min' => '',
    					'max' => '',
    					'acfe_flexible_render_template' => 'layouts/hero/template.php',
    					'acfe_flexible_render_style' => '',
    					'acfe_flexible_render_script' => '',
    					'acfe_flexible_thumbnail' => '',
    				),
    				'layout_5ddb97080766b' => array(
    					'key' => 'layout_5ddb97080766b',
    					'name' => 'grouped',
    					'label' => 'Grouped',
    					'display' => 'block',
    					'sub_fields' => array(
    						array(
    							'key' => 'field_5ddb97220766c',
    							'label' => 'Grouped Content',
    							'name' => 'grouped_content',
    							'type' => 'clone',
    							'instructions' => '',
    							'required' => 0,
    							'conditional_logic' => 0,
    							'wrapper' => array(
    								'width' => '',
    								'class' => '',
    								'id' => '',
    							),
    							'acfe_permissions' => '',
    							'clone' => array(
    								0 => 'field_5d4a8aeeba9bf',
    							),
    							'display' => 'seamless',
    							'layout' => 'block',
    							'prefix_label' => 0,
    							'prefix_name' => 1,
    							'acfe_clone_modal' => 0,
    						),
    					),
    					'min' => '',
    					'max' => '',
    					'acfe_flexible_render_template' => 'layouts/grouped/template.php',
    					'acfe_flexible_render_style' => '',
    					'acfe_flexible_render_script' => '',
    					'acfe_flexible_thumbnail' => '',
    				),
    			),
    			'button_label' => 'Layout hinzufรผgen',
    			'min' => '',
    			'max' => '',
    		),
    	),
    	'location' => array(
    		array(
    			array(
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'post',
    			),
    		),
    	),
    	'menu_order' => 0,
    	'position' => 'normal',
    	'style' => 'default',
    	'label_placement' => 'left',
    	'instruction_placement' => 'label',
    	'hide_on_screen' => '',
    	'active' => false,
    	'description' => '',
    	'acfe_display_title' => '',
    	'acfe_autosync' => '',
    	'acfe_permissions' => '',
    	'acfe_form' => 0,
    	'acfe_meta' => '',
    	'acfe_note' => '',
    ));
    
    acf_add_local_field_group(array(
    	'key' => 'group_5de6554f3a8e4',
    	'title' => 'รœbersetzungen',
    	'fields' => array(
    		array(
    			'key' => 'field_5de6555316cce',
    			'label' => 'Content DE',
    			'name' => 'content_de',
    			'type' => 'clone',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'acfe_permissions' => '',
    			'clone' => array(
    				0 => 'field_5d4a8aeeba9bf',
    			),
    			'display' => 'seamless',
    			'layout' => 'table',
    			'prefix_label' => 0,
    			'prefix_name' => 1,
    			'acfe_clone_modal' => 0,
    		),
    		array(
    			'key' => 'field_5de6558216ccf',
    			'label' => 'Content EN',
    			'name' => 'content_en',
    			'type' => 'clone',
    			'instructions' => '',
    			'required' => 0,
    			'conditional_logic' => 0,
    			'wrapper' => array(
    				'width' => '',
    				'class' => '',
    				'id' => '',
    			),
    			'acfe_permissions' => '',
    			'clone' => array(
    				0 => 'field_5d4a8aeeba9bf',
    			),
    			'display' => 'seamless',
    			'layout' => 'table',
    			'prefix_label' => 0,
    			'prefix_name' => 1,
    			'acfe_clone_modal' => 0,
    		),
    	),
    	'location' => array(
    		array(
    			array(
    				'param' => 'post_type',
    				'operator' => '==',
    				'value' => 'post',
    			),
    		),
    	),
    	'menu_order' => 0,
    	'position' => 'normal',
    	'style' => 'default',
    	'label_placement' => 'left',
    	'instruction_placement' => 'label',
    	'hide_on_screen' => '',
    	'active' => true,
    	'description' => '',
    	'acfe_display_title' => '',
    	'acfe_autosync' => '',
    	'acfe_permissions' => '',
    	'acfe_form' => 0,
    	'acfe_meta' => '',
    	'acfe_note' => '',
    ));
    
    endif;
    Thread Starter jabbadu

    (@jabbadu)

    You’re awesome!
    THX

    Hi, first of all very nice plugin. Many thanks for that!

    I have a similar problem with the e-mails.
    No emails will be sent, no matter which of the two settings I make.

    Otherwise there are no problems sending e-mails, wp_mail works;)
    I work in a local environment with Laragon.

    Thank you!

    Thread Starter jabbadu

    (@jabbadu)

    Hey, nice to hear. Many Thanks!

    Plugin Author jabbadu

    (@jabbadu)

    Hi,

    there is a new version coming up soon.
    I will have a look on how to add TBA to this update.

    Thread Starter jabbadu

    (@jabbadu)

    Wow, so simple!
    THX

Viewing 15 replies - 1 through 15 (of 17 total)