bravotangodev
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Toggle Layout Not Working?The
acfe_flexible_togglesub field was added automatically is my best guess – it wasn’t done manually if that is what you are implying. I am not using ACFE Pro. Maybe this was a leftover from a previous version? Not sure.I think this was just a red herring though, I can see, when using a new layout, it is adding/removing the
"toggle"as toacfe_flexible_add_actionsas expected; however, the toggle is still not working.
Disabling acf-json is still causing it to work normally. Example: https://dev.bravotango.ca/tests/acfe/toggle.mp4
I tested this previously with the default theme and no other plugins. The default theme worked until I started using Local JSON.Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Toggle Layout Not Working?A new finding as well is that not only does it not trigger an update, it’s specifically omitted from the acf-json, meaning, it will always be removed. There’s no way to use Local JSON and this setting within ACFE.
- This reply was modified 1 year, 9 months ago by bravotangodev.
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Toggle Layout Not Working?I found the issue. It is because I am using Local JSON in ACF. I discovered this my clearing out the folder and it started to work. After regenerating them, I see that enabling the “Toggle Layout” in the “Additional Actions” does not trigger an update the acf-json.
- This reply was modified 1 year, 9 months ago by bravotangodev.
There are no JS errors in the console and there are no warnings/errors in PHP.
Something else interesting that I noticed is that using the shortcode within the layouts loaded from
the_flexiblerender/work just fine.Some additional information here:
It textdiffed the site with it working/not working and it seems like Gravity Forms fails to load properly is because it is not injecting a lot of its scripts/styles (both inline stuff and enqueued requests) into the website.
Could the render style.css/script.js fields be messing with this somehow?I have tried the following without any luck:
- Removing the template files that it is trying to load (so none of my custom template stuff is loaded).
- Removing the dynamic render/preview from the layout.
- Removing all layouts/rows on the page.
- Added a brand new flexible layout without any fields added.
- Removed everything in functions.php.
- This reply was modified 1 year, 11 months ago by bravotangodev.
Yep, I am using “Dynamic Render” as it’s very useful for my ideal workflow (not needing to specify each template/have assets loaded modularly).
Using
do_shortcode('[gravityform id="1" title="true"]')after thethe_flexiblestill produces the same issue. When using above thethe_flexibleit works as expected.I can confirm using the normal ACF
have_rows/the_rowmethod works correctly/as expected. So it seems like it is related to somethingthe_flexibleis doing.Thanks!