Tagged: avia layout builder, gravity forms, Textblock
-
AuthorPosts
-
January 15, 2015 at 4:05 pm #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,
BarbJanuary 15, 2015 at 4:07 pm #380043January 15, 2015 at 8:23 pm #380384Hi 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,
BarbJanuary 15, 2015 at 8:26 pm #380388Hi Barb! :D
Do you mind creating an admin login once again so we can look into it?
Regards,
YigitJanuary 15, 2015 at 9:49 pm #380475This reply has been marked as private.January 19, 2015 at 4:14 am #381566Hey!
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!
AndyJanuary 19, 2015 at 1:58 pm #381744Hi 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,
BarbJanuary 19, 2015 at 3:48 pm #381838Hi 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,
BarbJanuary 20, 2015 at 7:10 am #382287Hey!
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!
IsmaelJanuary 20, 2015 at 1:10 pm #382407Hi 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,
BarbEDIT: 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, 10 months ago by Morticka.
-
AuthorPosts
- The topic ‘Gravity Forms code does not appear in Text Block Avia Layout Builder’ is closed to new replies.