Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #380042

    Hi guys,

    I bought the Gravity Forms plugin and after creating a form, I clicked on the button: “Add Form” in the Text Block kitchen sink (Avia Layout Builder), selected the form etc, but the code does not appear. I have to manually copy and paste the code from a normal post and then it works fine.

    So, when I don’t use the Avia Layout Builder the code does appear.

    Is there a way to fix it so the code shows up/Add Form button works in Avia Layout Builder?

    Sincerely,
    Barb

    #380043

    Hey Barb!

    Please try adding your code into Code Block element

    Cheers!
    Yigit

    #380384

    Hi Yigit :D,

    Oh it works when I copy the code in the Text Block as well, so that’s not what I need.

    I need the Gravity Forms button in the Text Block to work. It’s there, it just does not work.

    On ThemeForest it says that Enfold is compatible with Gravity Forms? Is this a bug and can it be fixed?

    Sincerely,
    Barb

    #380388

    Hi Barb! :D

    Do you mind creating an admin login once again so we can look into it?

    Regards,
    Yigit

    #380475
    This reply has been marked as private.
    #381566

    Hey!

    I can see what you mean. As you have quite a lot plugins installed, please deactivate all of them (except gravity form) to check if things get changed and which one is causing the issue.
    Did you also try to contact support for gravity forms? maybe they have some more ideas.

    Cheers!
    Andy

    #381744

    Hi Andy,

    Thx for checking :)

    But, I’ve deactivated all the plugins except Gravity Forms and the issue is still there.
    I checked with Gravity Forms support, but I can’t find anything about this problem there.

    Gravity Forms shortcode button works fine with a normal post or page, just not within Avia Layout Builder.

    Do you have another solution?

    Sincerely,
    Barb

    #381838

    Hi Andy,

    To continue from my previous message: I opened a ticket for support at Gravity Forms as well, just to be sure and I got this answer from them:

    “It sounds like the theme isn’t running do_shortcode for the content entered in their layout builder. I’m afraid this is something the theme developer will need to assist you with.”

    Can you do anything with this information?

    Sincerely,
    Barb

    #382287

    Hey!

    This is an old issue with the gravity form and we still haven’t fix it. For now, you have to generate the shortcode on a post or page then copy it on a text or code block. Anyway, I’m not sure if this is going to work but please try to add this on functions.php:

    add_action('admin_print_scripts', 'avia_gravity_forms_admin');
    function avia_gravity_forms_admin()
    {
    echo "<style type='text/css'>";
    echo "body #TB_window, body>.ui-dialog.ui-widget { z-index: 160001; }";
    echo "</style>";
    }

    Cheers!
    Ismael

    #382407

    Hi Ismael,

    Thx, I tried the code but indeed, it did not work. For now I will use the workaround.

    Do you have any idea when this old issue will be fixed?

    Sincerely,
    Barb

    EDIT: I’ve just installed Gravity Forms on my public website as well, and there the shortcode button DOES work with Avia Layout Builder. Same configuration as my Staging Site. So why does it work with one, but not with the other? The bug is the same?

    Anyway, you can close this topic. Thanks to all of you for trying to help me :D

    • This reply was modified 9 years, 3 months ago by Morticka.
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Gravity Forms code does not appear in Text Block Avia Layout Builder’ is closed to new replies.