Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter itqwert

    (@itqwert)

    Walter, thank you for your help.
    The issue indeed was solved by placing the class to the button.

    For those with the same problem, here are the steps with my solution:

    Using: SiteOrigin widget “SiteOrigin Button” + Contact form 7 + Popup Maker plugin.

    Popup maker config:

    – Create new popup. For the Trigger choose “Click to open”. For Cookies choose “On popup open”
    – Enter inside the text box your shortcut from Contact form 7. Example: [contact-form-7 id=”1054″ title=”Request a callback”]
    (in my case i’ve prepared the contact form with only Name and phone fields)
    – Configuring the script inside functions.php. In my case I’am using child theme config, so having a function.php inside child theme and a script integrated inside this file. Where: #popmake-1056 is the ID of the popup provided by Popup Maker when a new popup is created. So it might be changed inside the script to some other ID. Also the time of popup on close might be changed from 3 seconds to less or more (see comments for this inside the script).

    // Popup script for Request a callback button
    function custom_cf7_scripts() { ?>
        <script>
            // Replace form_7 with the # of your form to ensure
            function _cf7_form_1057_on_sent_ok_() {
    
                    /** 
                    * Here you can simply change 967 to match your Popup ID #.
                    * The cookies settings will be determined the settings in the editor.
                    * Any trigger ( auto open, exit intent or scroll triggered ) that is
                    * Set to manual will have its cookie set using it's unique settings.
                    */
                    jQuery('#popmake-1056').trigger('popmakeSetCookie');
                
                    /**
                    * Close the popup after a 3 second delay.
                    */   
                    setTimeout(function () {
                        jQuery('#popmake-1056').popmake('close');
                    }, 3000); // 3 seconds
                
          }
      </script><?php
    }
    add_action('wp_head', 'custom_cf7_scripts', 1000);
    

    =============

    And voilà integrate those steps and you’ll have a great popup window for any of your contact form.


    Once again thank you Walter.

    Thread Starter itqwert

    (@itqwert)

    Solved!

    By using the following advices:
    https://polylang.wordpress.com/documentation/frequently-asked-questions/the-language-switcher/

    To solve the issue and remove the ul code bullet beside the language bar.
    Need to add to main theme css style the following line:

    .lang-item {
        list-style: none;
    }
    Thread Starter itqwert

    (@itqwert)

    The issue solved.
    Used the following link: http://contactform7.com/selectable-recipient-with-pipes/

    In order to place the choice of client (the department name) – the text before the piple line, inside the message text body, I have used the following tegs

    Message sent to: [recipient] — placing the email of the department
    Department: [_raw_recipient] — placing the name of the department before the pipe line – the one that client sees in the drop-down menu choice.

    So, when the email arrive now the exact choice can be seen inside text message.

    example:

    Message sent to: [email protected]
    Department: Department 1

    ororaby,

    Do you have your DNS management in one place and the email server on another?
    If – yes, you should add mx records of your email server under your DNS management hosting.
    …it might be a reason. I just solved this kind of problem with form7. When my exchange serv. in one place and dns management on another.

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