Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Kevin-G

    (@kevin-g)

    After contact with MyPOS Support the plugin was updated and issue resolved.
    So if anyone has the same issue, plugin update was the resolution.

    Thread Starter Kevin-G

    (@kevin-g)

    Hi Pearl,
    No the plugin wasn’t edited.
    Re-installing it also did not help.

    The only JS altering it is present on the theme Javascript and is simply:

    if (jQuery("#mc_signup").length) {
    		var email = {
    			en : "Email Address",
    			fr : "E-mail",
    			es : "Correo electrónico"
    		};
    		var name = {
    			en : "Full Name",
    			fr : "Nom complet",
    			es : "Nombre completo"
    		}
    		jQuery("#mc_mv_EMAIL").attr("placeholder",email[icl_vars["current_language"]]);
    		jQuery("#mc_mv_LNAME").attr("placeholder",name[icl_vars["current_language"]]);
    
    	};

    Best,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Hi Pearl,
    Thank you for the reply.
    On Mailchimp only email and name were required.
    I tried to remove Name as required (even if it’s on the widget) but I still get the same error.

    The Theme is a custom theme.
    And this plugin was simply link to Mailchimp, and added a sidebar widget.
    Part of the custom theme JS then add a Placeholder on the form field.
    (This was previously done with plugin edit, but changed to allow auto-update).
    We had this plugin working for a long time before the last update which seems to be the cause of this issue.

    Thank you,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Hi Harish,

    Sorry for this error and thank you for your reply.
    Have a nice day,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Marking it as resolved.

    Thread Starter Kevin-G

    (@kevin-g)

    Hi Evan,
    Thank you for your reply.

    This snipet work perfectly.
    I removed the check for Contact Form 7 so it also apply to WooCommerce and other form.

    Thank you for your help and your plugin.

    Best regards,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Hi Evan and Tracy,
    Sorry I just had to test it now and unfortunately it is not working.
    Hopefully you will see this message without opening a new ticket.

    The new List field was created with the tag “LANG”.
    And the default “all forms” function was added to my function.php.
    I even tried to send a specific string instead of ICL_LANG but it didn’t work either.

    When checking the box on a Contact Form 7, the customer is ask to to join the mailing list, but this MERG tag is not sent.

    Thank you for your help,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Thank you Evan for your help !

    This solution is perfect for me.
    Tracy, yes this now resolved.

    Cheers,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    Thanks Evan,
    The language will be based on the current language of WPML.
    https://wpml.org/documentation/support/wpml-coding-api/
    I will most likely use the following PHP constant: ICL_LANGUAGE_NAME_EN

    Best regards,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    No I do not have any field, or interest group setup yet.
    I was waiting based on your answer to create the required settings.

    If possible are possible, I would rather have a Segment or Groups.
    But I can work just fine with a simple field and query.

    Thank you for your help Evan.

    Thread Starter Kevin-G

    (@kevin-g)

    Thank you for the very quick reply.

    This seems to apply to the Form Builder.
    Is there another filter which will add a custom field to the WooCommerce and Contact Form 7 form ?

    If possible, I would try to avoid updating plugin file.

    Best,
    Kevin

    Thread Starter Kevin-G

    (@kevin-g)

    I have tried to search on the most common place on the code but without luck.
    I found that this metaboxe is created by the file wp-admin\includes\nav-menu.php Lines 878~881

    <?php
    				$args['walker'] = $walker;
    				echo walk_nav_menu_tree( array_map('wp_setup_nav_menu_item', $terms), 0, (object) $args );
    				?>

    I followed walk_nav_menu_tree to wp-includes\nav-menu-template.php lines 447~451

    function walk_nav_menu_tree( $items, $depth, $r ) {
    	$walker = ( empty($r->walker) ) ? new Walker_Nav_Menu : $r->walker;
    	$args = array( $items, $depth, $r );
    	return call_user_func_array( array(&$walker, 'walk'), $args );
    }

    But I was unable to understand how to update this function to my need.
    I imagine it would not be very easy to recreate the hierarchy on the menu metabox.
    If it’s too hard, I would like to print ID instead of name.
    When 2 cat name are the same WP add the category parent to the second one, it would be perfect for me.

    If anyone could give me a hand there, i would greatly appreciate

Viewing 12 replies - 1 through 12 (of 12 total)