Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Worldscrown

    (@worldscrown)

    Breaks my frontend TinyMCE also.
    Submitted ticket to embedly support.

    You will need to access the PHP files in the Mad-Mimi plugin

    add this to line 357 of the mad-mimi.php file:

    if(!isset($post['name']) || empty($post['name'])) {
                $errors['name'] = __('Please enter your Name.', 'mad-mimi');
            }
    		if(!isset($post['phone']) || empty($post['phone'])) {
                $errors['phone'] = __('Please enter your Phone Number.', 'mad-mimi');
            }
    		if(!isset($post['address']) || empty($post['address'])) {
                $errors['address'] = __('Please enter your Street Address.', 'mad-mimi');
            }
    		if(!isset($post['city']) || empty($post['city'])) {
                $errors['city'] = __('Please enter your City.', 'mad-mimi');
            }
    		if(!isset($post['state']) || empty($post['state'])) {
                $errors['state'] = __('Please enter your State.', 'mad-mimi');
            }
    		if(!isset($post['zip']) || empty($post['zip'])) {
                $errors['zip'] = __('Please enter your Zip Code.', 'mad-mimi');
            }

    Also the madmimi-widget.php file will need to be modified. Starting around line 115 is all the ‘signup’ code. compare them to the email signup code. you will need to add the
    <span class='required' title='This field is required'>*</span>
    to the other submit codes.

    hope this helps.

    I have tried an anchor link using the method above and also using the “id” generated by the PHP. I put the anchor on the bottom of the second tab. When the link was clicked it only lowered my screen view down to were the anchor was but did not change to the second tab.

    Has anyone got this working? If so please share your code. Thanks!

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