Love, love, love your Flexible Modal. Hacking together some themes for Google AMP Pages and Stories. ACF along with your Flexible Modal makes it super simple for peeps to edit – layout pages and stories —> without them messing things up.
Read the post about the z-index overlay/modal issue. What I did was simply hide the overlay and push down the content modal so it wasn’t obscured by the header. Just added some CSS to the admin header by placing the following snippet in the theme’s functions.php as follows:
add_action(‘admin_head’, ‘flexible_modal_tweak’);
function flexible_modal_tweak() {
echo ‘<style>
#acf-flexible-content-modal-overlay {visibility:hidden;}
.acf-flexible-content .layout.-modal {
top: 10% !important;
}
</style>’;
}
I suppose you could write a little JS snippet to close the modal when the body of the document is clicked too. Seems like overkill though. Can click the X or hit the ESC key to close and save.
FYI
Shout out from New Orleans and Happy Mardi Gras!
]]>Hi,
First of all, thanks for this plugin! Can you send me your PayPal email to [email protected] so I can send you a donation.
Regarding the issue, everything works fine with classic editor but when Gutenberg editor is enabled and I click the edit icon, the modal displays but the overlay is on top of it and you can’t interact with the modal. I reviewed z-index and it seems to be setup correctly so not quite sure what the issue is here.
https://www.dropbox.com/s/7zdrrfmq92ztbpz/Screenshot%202019-07-24%2015.59.59.png?dl=0
I can give you admin access to a staging theme if you’d like to take a look?
]]>Hi,
This is a great plugin. What is the way to disable modal in nested FC?
I did not find the solution anywhere.
Thanks.
]]>If I insert two clone fields and I clone the same Field Groups, the modal opens but does not close. The only way to close it is to refresh the page.
]]>Breaking with release of ACF Pro 5.7
]]>In case this plugin doesn’t suit your needs, you can try to explain your reasons in this topic. Maybe I can use it to improve this tool. Try to be clear when explaining and attach a screenshot showing your currently Flexible Content field usage to illustrate your case.
]]>How do you create the admin title field? So that the row has a label that is identified by a field name?
]]>From a UX perspective it would be great to have
1. a button to apply the changes and close the modal
2. a button to cancel and close the modal without changes
Alternatively renaming the current (x) button to “apply” would do the trick (almost) as well.
https://www.ads-software.com/plugins/acf-flexible-content-modal/
]]>Hi, thanks for your work. Can you make support for repeater fields? Another question is, if fields in modal is renderer after page load or after click on edit button. It would be awesome after click on edit button, because it will be solution for many tinymce fields.
https://www.ads-software.com/plugins/acf-flexible-content-modal/
]]>Hi, firstly awesome plugin however one big problem meaning I cannot use it is with having Flexible Content Fields within a Flexible Content Fields.
Would it be possible that all child Flexible Fields work as normal within the Modal window?
https://www.ads-software.com/plugins/acf-flexible-content-modal/
]]>